1.

Explain Repl In Node.js?

Answer»

The REPL stands for “Read Eval Print Loop”. It is a simple program that accepts the commands, evaluates them, and finally PRINTS the results. REPL provides an environment similar to that of Unix/Linux shell or a window console, in which we can ENTER the command and the system, in turn, responds with the output.

REPL performs the following tasks:

  • READ-It Reads the input from the USER, parses it into JavaScript data structure and then STORES it in the memory.
  • EVAL- It Executes the data structure.
  • PRINT- It Prints the result obtained after EVALUATING the command.

The REPL stands for “Read Eval Print Loop”. It is a simple program that accepts the commands, evaluates them, and finally prints the results. REPL provides an environment similar to that of Unix/Linux shell or a window console, in which we can enter the command and the system, in turn, responds with the output.

REPL performs the following tasks:



Discussion

No Comment Found