hello-world.js
/* Hello World! program in Node.js */ console.log("Hello World!");
Execute
the statement ‘node hello-world.js’
C:\>node hello-world.js Hello World!
Note
In Node.js, it is considered as good style to use hyphens (-) or underscores (_) to separate multiple words in filenames.
In Node.js, it is considered as good style to use hyphens (-) or underscores (_) to separate multiple words in filenames.
No comments:
Post a Comment