
How does vscode create js?
First click on the new file under the file
Recommendation: "vscode tutorial"

##Then a temporary file will be created, as shown in the figure below

Select the file type as js, as shown in the figure below

You can also click on the plain text at the bottom, as shown in the picture below

Select the language mode as javascript in the pop-up interface

Then write some Js statements in the file, as shown in the picture below

Click the triangle button in the upper right corner, as shown in the picture below

Then you can see the js output at the bottom, as shown below

The above is the detailed content of How to create js file in vscode. For more information, please follow other related articles on the PHP Chinese website!