Is there an "immediate window" in Visual Studio Code to run Javascript?

As of (at least) my current version of VS Code (1.5.2), the "Debug Console", while debugging, lets you run arbitrary JavaScript code as you would in the VS Immediate Window. (Similar to as you would for the Chrome Dev Tools Console.)


There is no Immediate Window unlike Visual Studio in VSCode. But you can still execute Javascript in VSCode.

Install the Code Runner Extension - https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner

Open the JavaScript file in VSCode, then use shortcut Ctrl+Alt+N, the code will run and the output will be shown in the Output Window.


I've found this extension that makes a scrathpad for JS, that runs at the same time as you are typing: https://quokkajs.com/

Works on VS Code, Jet Brains, and Atom.