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

前端 未结 5 2131
予麋鹿
予麋鹿 2020-12-28 15:02

Yes, I use F12 in the browser all the time to test out Javascript snippets with the console. I\'m tired of that (for the moment anyway).

I\'ve read that in Visual St

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-28 15:31

    This might do it: https://code.visualstudio.com/Docs/runtimes/nodejs

    Node.js is a platform for building fast and scalable server applications using JavaScript. Node.js is the runtime and NPM is the Package Manager for Node.js modules.

    To get started, install Node.js for your platform. The Node Package Manager is included in the Node distribution.

提交回复
热议问题