Y
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
glitch003
2983 days ago
Fetch and response.json() both return promises. So it's still a promise.
link
robotpony
2983 days ago
A promise is a promise ...
link
Guillaume86
2983 days ago
True and in this particular example for response.json() it doesn't even matter.
link