4 ms·
That code would be a lot easier to read if you had used async.js. The worse callback hell is the callback hell which cannot be seen that easily. The type you c
by lhnz 14y ago
That code would be a lot easier to read if you had used async.js.
The worse callback hell is the callback hell which cannot be seen that easily. The type you create when you generate a closure inside one of those braces, which you pass to another function inside this which may or may not execute it depending on the result of its own callback hell.