title: "ReferenceError: prompt is not defined" in Atom
body: <p>I am new to JavaScript and editor Atom. I tired to write a code to prompt things in Atom, eg. </p>
  
  <pre><code>prompt("what's your name?");
  </code></pre>
  
  <p>But I got the following error message. Can anyone help me with this?
  Thank you in advance.</p>
  
  <pre><code>ReferenceError: prompt is not defined
  at Object.&lt;anonymous&gt; (***/prmpthiwld.js:2:1)
  at Module._compile (module.js:410:26)
  at Object.Module._extensions..js (module.js:417:10)
  at Module.load (module.js:344:32)
  at Function.Module._load (module.js:301:12)
  at Function.Module.runMain (module.js:442:10)
  at startup (node.js:136:18)
  at node.js:966:3
  </code></pre>