Hacker News new | ask | show | jobs
by daybreaker2 2983 days ago
Because he needs it wrapped in a promise, sending a resolve/reject?
1 comments

Fetch and response.json() both return promises. So it's still a promise.
A promise is a promise ...
True and in this particular example for response.json() it doesn't even matter.