Why does this throw an error using node.js in linux XTerm?
<p>Why does this throw an error using node.js in linux XTerm?</p>

<pre><code>console.log("What is the equation?");
var a = window.prompt("A = ");
var b = window.prompt("B = ");
var c = window.prompt("C = ");
</code></pre>