in NodeJS Essentials by
Which of the following is used to handle errors in Node.js?

A) try/catch

B) throw

C) assert

D) all of the above

1 Answer

0 votes
by

Answer: D

Explanation: try/catch, throw, and assert are all used to handle errors in Node.js.

...