3 ms·
Because promises are chainable, it can take N level-deep code down to 1 level deep. So that's your first big win. The second one is that you can await a promis
by latch 10y ago
Because promises are chainable, it can take N level-deep code down to 1 level deep. So that's your first big win.
The second one is that you can await a promise, which turns your 1-level-deep code to 0 levels deep.