Can anyone tell me how can I run this JavaScript code in VS Code without node.js?
var a;
a = 0;
a ;
alert(a);
CodePudding user response:
If you are not going to use NodeJS or a browser, you need a shell to run JavaScript. Here are a few:
CodePudding user response:
I assume you're a beginner. If you want to try basic JavaScript code try plunker. it's easy for beginners. simply type your code in the .js file and click preview.
var a;
a = 0;
a ;
alert(a);
Click here for above code in plunker
Leave a comment if you need any assistant.