Define an error-first callback?

Error-first callbacks are generally used to pass errors as well as data. It is important to pass the error as the first parameter, and then you must check if something went wrong. There are additional arguments that are used to pass data.

Suggest An Answer

No suggestions avaliable!

Latest post from Node js Interview Questions

Ask Question