Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
daybreaker2
on April 21, 2018
|
parent
|
context
|
favorite
| on:
VS Code can do that?
Because he needs it wrapped in a promise, sending a resolve/reject?
glitch003
on April 21, 2018
[–]
Fetch and response.json() both return promises. So it's still a promise.
robotpony
on April 22, 2018
|
parent
|
next
[–]
A promise is a promise ...
Guillaume86
on April 21, 2018
|
parent
|
prev
[–]
True and in this particular example for response.json() it doesn't even matter.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: