Ctrl + c - For terminating the current command. Ctrl + c twice – For terminating REPL. Ctrl + d - For terminating REPL. Tab Keys - list of all the current commands. .break - exit from multiline expression. .save with filename - save REPL session to a file.
Question:
List out some REPL commands in Node.js? Answer:
Below are the list of REPL commands –
Ctrl + c - For terminating the current command. Ctrl + c twice – For terminating REPL. Ctrl + d - For terminating REPL. Tab Keys - list of all the current commands. .break - exit from multiline expression. .save with filename - save REPL session to a file. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.