adspace


What is typically the first argument passed to a node.js callback handler?

Answer Posted / Sharad Vishwakarma

The first argument that is usually passed to a Node.js callback function is an error object (if any error occurred) or null if there was no error. If the data is successfully processed, it is typically passed as the second argument.

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