NodeJS Example
Node.js files have the file extension ".js"
Node.js files must be initiated from the command line.
Open File Explorer and create the following folder
C:\temp\testing\
hello.js
Create a javascript file "hello.js" in the folder
Add the following line of code:
console.log("Hello World from Node");
Open the Command Prompt (cmd)
cd c:\temp\testing
node hello.js
SS
© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited TopPrevNext