|
|
|
|
|
by timoxley
3010 days ago
|
|
If the return value is important: if (err) return void handleError(err)
And in non-promise-based async JS, the return value is almost always lost/useless anyway so `return x` has no effect, might as well repurpose `return` for short-circuiting. |
|