adspace


Why do we need promises in node js?

Answer Posted / Kamal Kumawat

Promises in Node.js are important because they simplify asynchronous code by providing a cleaner way to handle callbacks, making the code easier to read and debug. They also allow for error handling using 'catch' blocks.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is node js losing popularity?

592


How we can read a file in node js?

572