Q. Which method exits a Node.js process?

A
exit()
B
close()
C
stop()
D
terminate()
Solution:

The exit() method terminates the Node.js process.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!