REPL stands for Read Eval Print Loop and it represents a computer environment like a Windows Console or Unix/Linux shell where a command is entered and the system responds with an output in an interactive mode.
Node.js or Node comes bundled with a REPL environment.
It performs the following tasks.
- Eval - Takes and evaluates the data structure.
- Print - Prints the result.
- Loop - Loops the above command until the user presses Ctrl + C twice.