title: JavaScript Console Program
body: <p>I was wondering...<br>
  Could I make a console application for Windows using a JavaScript-like script...<br>
  Such code as:  </p>
  
  <pre><code>window.console.write("Hello, World!");
  var useless = window.prompt("Press a key...");
  </code></pre>
  
  <p>And also I was wondering if such a code could be compiled into an <code>EXE</code> that could be called in a batch-file. I am aware of a possible solution using node.js, but this is not quite what I am looking for. </p>
  
  <p>Thanks in advance!<br>
  ~CSS</p>