Kizspy | Question: 46
(Choose 2 answers)
Which of the following are valid ways to handle errors in Node.js?
A. Ignoring errors as Node.js handles them automatically
B. Using try-catch block
C. Using process.on('exit') event
D. Attaching an error event listener to EventEmitter instances