Courses
JavaScript Intermediate: Write Code That Doesn't Fall Apart When the Data Changes
Check Yourself: Waiting for Things
Five scenario questions on timers, promises, async/await and fetch. If you miss more than one, run the examples again and watch the order of the output.
Course content
Join this Course
Sign in to save your progress.
-
Set Up Projects That Don't Break Each Other
-
Node.js and npm: Running JavaScript Outside the Browser
-
package.json and Lock Files: Same Install Every Time
-
-
-
Organize Code Other People Can Read
-
JavaScript Modules: import, export and Splitting One Big File
-
JavaScript Classes: When an Object Literal Is No Longer Enough
-
Destructuring and Spread Without the Confusion
-
-
-
Work With Real Data
-
Array Methods: map, filter, reduce and When a Loop Is Clearer
-
Working With JSON: parse, stringify and What Breaks
-
Dates in JavaScript Without Losing a Day
-
-
-
Waiting for Things
-
Callbacks to Promises: Why the Code Runs Out of Order
-
async/await and fetch: Calling a Real API
-
-
-
Prove It Works Before Someone Else Finds Out
-
try/catch and Custom Errors
-
Your First Tests With Vitest
-
-
- Final Check: JavaScript Intermediate
1.
What prints first? console.log("A"); setTimeout(() => console.log("B"), 0); console.log("C");
2.
You set a variable inside .then() and log it on the next line after the chain. It's undefined. Why?
3.
fetch("/api/users/999") returns a 404. What happens without any extra checks?
4.
You need three independent users from an API. Which is fastest?
5.
You wrote const user = response.json(); and user.name is undefined. What's missing?
About
Five scenario questions on timers, promises, async/await and fetch. If you miss more than one, run the examples again and watch the order of the output.
- Duration
- 5 min
- Last update
- 08/25/2026
Was this helpful?
0
0
Comments (0)
Sign in to commentNo comments yet.