When called without arguments, Node.js starts a REPL (Read-Eval-Print-Loop), also known as the “Node shell”.
At a command prompt, type node.
$ node
At the Node shell prompt > type “Hello World!”
“Hello, World!” ‘Hello World!’
And that’s it, really
When called without arguments, Node.js starts a REPL (Read-Eval-Print-Loop), also known as the “Node shell”.
At a command prompt, type node.
$ node
At the Node shell prompt > type “Hello World!”
“Hello, World!” ‘Hello World!’
And that’s it, really