InterviewSolution
| 1. |
What Is Repl In Context Of Node? |
|
Answer» REPL stands for Read Eval Print Loop and it represents a computer environment LIKE a window console or unix/linux shell where a COMMAND is entered and system responds with an output. Node.js or Node comes bundled with a REPL environment. It performs the following desired tasks. Read – Reads user’s INPUT, parse the input into JavaScript data-structure and stores in memory. Eval – Takes and evaluates the data structure Print – PRINTS the result Loop – LOOPS the above command until user press ctrl-c twice. REPL stands for Read Eval Print Loop and it represents a computer environment like a window console or unix/linux shell where a command is entered and system responds with an output. Node.js or Node comes bundled with a REPL environment. It performs the following desired tasks. Read – Reads user’s input, parse the input into JavaScript data-structure and stores in memory. Eval – Takes and evaluates the data structure Print – Prints the result Loop – Loops the above command until user press ctrl-c twice. |
|