3 ms·
You've missed so many edge cases it's not even funny. Error handling? Zero length "paths" array? These are exactly the sort of things that using promises helps
by tlrobinson 14y ago
You've missed so many edge cases it's not even funny. Error handling? Zero length "paths" array? These are exactly the sort of things that using promises helps avoid.
Why don't we all just go back to manually pushing/popping arguments on the stack like in assembly language while we're at it?