Skip to main content
JourneyUncommon

JavaScript Deep Dive

Event loop, prototypes, async pitfalls. These separate the seniors.

Questions
15
Tier
Advanced
Language
JavaScript
Time
~20 min

Difficulty mix: 2 easy, 7 medium and 6 hard. The questions are drawn from the JavaScript library at the moment you start, so sitting the test twice does not give you the same paper.

What this test can pull from

42 JavaScript topics are in scope. These are the real topic labels on the questions.

  • array map filter reduce
  • primitives and typeof
  • ToPrimitive coercion algorithm
  • let const var and scope
  • template literals
  • Promise.all race allSettled
  • object destructuring
  • prototype chain internals
  • this in callbacks vs methods
  • structuredClone
  • this-binding spec edge cases
  • property descriptors
  • Map Set WeakMap
  • Symbol registry
  • immutability patterns
  • getters and setters
  • SharedArrayBuffer and Atomics
  • microtask vs macrotask ordering
  • generators and yield
  • typed arrays and ArrayBuffer
  • Proxy and Reflect
  • generator return throw protocol
  • closures as a pattern
  • ES module resolution algorithm
  • custom iterables Symbol.iterator
  • hidden classes and inline caches
  • Error subclassing
  • == vs equals
  • closures and memory retention
  • recursion and stack limits

Questions of the kind this test asks

Six real JavaScript questions from the same pool, snippet included. The answer options and explanations are not shown here. Those come after you attempt them.

Prefer to pick your own questions? Browse all JavaScript questions. See the other 10 tests.