Skip to main content

REPL & CLI

Read, Eval, Print, Loop

REPL Mode

In command line, press node to enter Node's REPL mode.

Save: .save, .load

TAB & Underscore

TAB twice to see suggestion.

Underscore variables are like "$" feature in Bash. It stores value of the last evaluated expression.

Executing Scripts

Timers

CLI

process