Advertisement
EconomicSerg

Untitled

Jan 22nd, 2021
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Conversion
  2.  
  3. var x = prompt("Hello! How are you doing?");
  4.  
  5. if (x == "good") {
  6.     alert("Nice");
  7. } else if (x == "bad") {
  8.     alert("Oh, ok");
  9. } else {
  10.     alert("Is that an emotion?");
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement