title: How to write multiple lines of code in Node REPL
body: <p>I would like to evaluate</p>
  
  <pre><code>var foo = "foo";
  console.log(foo);
  </code></pre>
  
  <p>as a block, instead of evaluating line by line </p>
  
  <pre><code>var foo = "foo";
  undefined
  console.log(foo);
  foo
  undefined
  </code></pre>
  
  <p>Is there a simple way to move the prompt to the next line?</p>