Avoid Else, Return Early by Tim Kevin Oxley
To more clearly signal that the return value is unimportant you can use the void operator:
function(err, results) { if (err) return void handleError(err) // ... }
signal that the return value is unimportant
Avoid Else, Return Early by Tim Kevin Oxley
To more clearly signal that the return value is unimportant you can use the void operator:
function(err, results) { if (err) return void handleError(err) // ... }