What is REPL in Node.js?

REPL stands for Read Eval Print Loop. It specifies a computer environment like a window console or Unix/Linux shell where you can enter a command, and the computer responds with an output. It is very useful in writing and debugging the codes. REPL environment incorporates Node.js.

See the Example:

$ node  

> 100 + 200  

300  

> 100 + ( 200 * 300 ) - 400  

59700  

>
Node.js Interview Questions

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *