Hello World in the REPL
suggest changeWhen 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!”
$ node
> "Hello World!"
'Hello World!'
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents