re: Async Iteration in Nodejs VIEW POST

FULL DISCUSSION
 
if(error) return callback(error)

If there is no error:

return callback(null, userInfoArr)

When working with callbacks is important error first management

code of conduct - report abuse