adspace


define an error-first callback?

Answer Posted / Arun Prakash Gupta

An error-first callback is a convention in Node.js where an error (if any) is passed as the first argument, followed by the result (if any). This allows for proper handling of errors and simplifies error propagation.

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?

590


How we can read a file in node js?

571