8questions
BeginnerTypeScript
8 subjects
3 easy4 medium1 hard
Why should a new project turn on `strict`, and what does it actually change?
Start practising5 easy10 medium5 hard
// 20 of 20 questions · 20 subjects
mediumHoistingScope
mediumPrimitivestypeof
A cart total shows "1020" instead of 30. Explain the coercion and how you would convert explicitly.
easyCoercionConversion
medium??Optional chaining
Why should you throw `Error` objects rather than strings, and what does `finally` guarantee?
mediumErrorstry/catch
mediumEvent delegationReflow
What does strict mode change, and why do most modern codebases never write "use strict"?
easyStrict modeESM
mediumIteration protocolGenerators
easyClassesPrivate fields
Why did a 500 response not reach your `catch` block, and how do you add a timeout to `fetch`?
mediumfetchAbortController
hardGarbage collectionLeaks
Walk through finding the cause of that memory leak and of a janky scroll using Chrome DevTools.
mediumDebuggingProfiling
8questions
Beginner8 subjects
3 easy4 medium1 hard
Why should a new project turn on `strict`, and what does it actually change?
Start practising22questions
Beginner22 subjects
8 easy11 medium3 hard
What makes a coding agent different from autocomplete or a chat window, and what does that change about how you review its work?
Start practising35questions
Beginner35 subjects
9 easy18 medium8 hard
Walk through what happens between typing a URL and seeing the first pixels, and where front-end code can speed it up.
Start practising