REPL
noun
say it: “REP-ul” /ˈrɛpəl/
Node's interactive prompt, where each line of JavaScript you type runs at once and its value is printed.
What is Node's REPL?
The REPL is Node's interactive prompt: type node on its own and it reads a line, evaluates it, prints the result and loops back for the next. It's for trying a line of JavaScript quickly; .exit leaves it.
$ node
> 3 * 4.50
13.5
> .exit
In a sentence
- “Type .exit to leave the REPL and get your terminal prompt back.”
- “Unsure how toFixed rounds, Omar typed 2.345.toFixed(2) into the REPL to see.”
Level: Novice · More Node.js terms at this level
Updated