4 ms·
I'm failing to see how async/await has more promises than your implementation.
by Kwantuum 6y ago
I'm failing to see how async/await has more promises than your implementation.
- BenoitEssiambre 6y agoAsync/await requires passing a promise to await. If you read the documentation for async/await, it starts with: "These features basically act as syntactic sugar on top of promises": https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Asynchronous/Async_await https://developer.mozilla.org/en-US/docs/Learn/JavaScript/As...