Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 302 Bytes

section1.7.md

File metadata and controls

12 lines (9 loc) · 302 Bytes

Section 1.7: Hello World in the REPL

When called without arguments, Node.js starts a REPL (Read-Eval-Print-Loop) also known as the Node shel.

  • At a command prompt type node.

    • $ node
    • >
  • At the Node shell prompt > type "Hello World!"

    • $ node
    • > "Hi Morol"
    • 'Hi Morol'