January 28, 2023


The complete guide to the beginners as well as to the experienced Web Developers

How to execute NODE JS

Execute NODE JS files via below steps.
– Create server.js file in directory
– Put code inside js file
 – Open directory from command prompt
 cd C:\xampp\htdocs\nodejs
– Execute JS file from node
node server.js
Get return value in command prompt whatever in console.log()