- What is a Promise? 3:36
- Create a Promise 4:43
- Reject a Promise and Handle Errors 3:25
- Promises Review
- Create a Promise Review 6 questions
- From Callbacks to Promises 5:59
- Handle Multiple Promises with Promise.all 3:35
- Before You Continue
- Perform Cleanup With finally() 2:47
- Using Fetch 6:21
- JavaScript Promises Review 6 questions
Quiz Question 1 of 6
What does the fetch()
method return?
Choose the correct answer below:
-
A
fetch()
returns aPromise
that resolves to aResponse
object. -
B
fetch()
returns aPromise
that resolves with the result of parsing the body text as JSON. -
C
fetch()
immediately returns the requested data in JSON. -
D
fetch()
returns onePromise
when all the individual promises passed to it are fulfilled.