Node.js Global Object
Node.js Process Object
Node.js Core Modules
Node.js Local Modules
//node is typed in the console to access REPL $ node //the > indicates that REPL is running // anything written after > will be evaluated > console.log("HI") // REPL has evaluated the line and has printed out HI HI
Node.js comes with REPL, an abbreviation for read–eval–print loop. REPL contains three different states:
*a read state where it reads the input from a user, *the eval state where it evaluates the user’s input *the print state where it prints out the evaluation to the console.
After these states are finished REPL loops through these states repeatedly. REPL is useful as it gives back immediate feedback which can be used to perform calculations and develop code.