Learn how to use Node.js
- Install Node.js from here, for your system.
- Create a .js file ${name}.js.
- Copy, paste this code.
console.log("Hello World");
- Open terminal, in that location.
- Run the file using.
node ${name}.js
And that's it, you had just Node.js to run JavaScript outside browser. ๐๐
Top comments (0)