Exploring REPL Terminal
12 Sep 2022
Here, we are adding two numbers 1 and 2 which results into 3.
It shows REPL options and commands.
It helps you to exit from multiline expression when you get stuck.
It is an alias for .break.
It will help you to load JS code form a file into the REPL session.
It will save all evaluated command in the REPL session.
Ctl + d
It will terminate the REPL session.
It will iterate through command history.
It will display the list of current available commands.
What do you think?
I hope you will enjoy commands and short-cuts while programming with Node.js. I would like to have feedback from my blog readers. Your valuable feedback, question, or comments about this article are always welcome.
Take our free skill tests to evaluate your skill!
In less than 5 minutes, with our skill test, you can identify your knowledge gaps and strengths.