title: Run JavaScript in Visual Studio Code
body: <p>Is there a way to execute JavaScript and display the results using <strong>Visual Studio Code</strong>?</p>
  
  <p>For example, a script file containing:</p>
  
  <pre><code>console.log('hello world');
  </code></pre>
  
  <p>I assume that Node.js would be needed but can't work out how to do it?</p>
  
  <blockquote>
    <p>By <strong><a href="https://code.visualstudio.com/" rel="noreferrer">Visual Studio Code</a></strong> I mean the new Code Editor from Microsoft -
    Not code written using Visual Studio.</p>
  </blockquote>