4 ms·
Because he needs it wrapped in a promise, sending a resolve/reject?
by daybreaker2 8y ago
Because he needs it wrapped in a promise, sending a resolve/reject?
- glitch003 8y agoFetch and response.json() both return promises. So it's still a promise.
- Guillaume86 8y agoTrue and in this particular example for response.json() it doesn't even matter.
- robotpony 8y agoA promise is a promise ...