Q. What does process.on(‘exit’) do?

A
Starts the process
B
Handles process exit
C
Logs errors
D
Creates a file
Solution:

process.on(‘exit’) handles events when the process exits.

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!