Home  >  Article  >  Development Tools  >  How to run JS code directly in VSCode

How to run JS code directly in VSCode

Guanhui
GuanhuiOriginal
2020-05-20 14:42:0811403browse

How to run JS code directly in VSCode

How to run JS code directly with VSCode

First create a new JS file and use VSCode to edit it;

How to run JS code directly in VSCode

Then check whether the editor syntax is JavaScript, if not, change it to JavaScript;

How to run JS code directly in VSCode

Then write some JS statements in the editor;

How to run JS code directly in VSCode

Finally click on the triangle icon in the upper right corner.

How to run JS code directly in VSCode

How to run JS code directly in VSCode

Recommended tutorial: "VSCode"

The above is the detailed content of How to run JS code directly in VSCode. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn