JavaScript
JavaScript Quiz Exercises
Test your JavaScript knowledge with focused quiz exercises.
Interactive exercises that help you practice, check your understanding, and find what to revisit.
Start here
Test your knowledge: JavaScript Variables, Bindings, and Scope
Practice let and const, initialization and reassignment, lexical scope, and template-literal substitutions.
Explore the collection
Exercises
Browse the complete collection and choose the resource that matches what you want to practice or understand.
-
ExercisesBeginner
Test your knowledge: JavaScript Variables, Bindings, and Scope
Practice let and const, initialization and reassignment, lexical scope, and template-literal substitutions.
~5 min read Start exercise -
ExercisesBeginner
Test your knowledge: JavaScript Numbers
Check your understanding of Number, arithmetic, floating-point values, special values, and BigInt.
~4 min read Start exercise -
ExercisesBeginner
Test your knowledge: Expressions and Operators
Check your understanding of expressions, operators, short-circuiting, nullish coalescing, conditional expressions, and precedence.
~5 min read Start exercise -
ExercisesBeginner
Test your knowledge: JavaScript Strings
A short assessment covering quoting, slicing, immutability, and the methods worth memorizing.
~3 min read Start exercise -
ExercisesBeginner
Test your knowledge: JavaScript Booleans and Conditionals
A short assessment covering strict equality, the falsy seven, nullish coalescing, and short-circuit logic.
~3 min read Start exercise -
ExercisesBeginner
Test your knowledge: JavaScript Functions
A short assessment covering the three syntaxes, defaults and rest, implicit returns, and scope.
~3 min read Start exercise -
ExercisesBeginner
Test your knowledge: JavaScript Objects
A short assessment covering destructuring, spread copies, optional chaining, and methods.
~3 min read Start exercise -
ExercisesBeginner
Test your knowledge: JavaScript Loops
A short assessment covering for...of versus for...in, the exits, and when not to loop at all.
~3 min read Start exercise -
ExercisesIntermediate
Test your knowledge: JavaScript Values, Types, Coercion, and Equality
Practice JavaScript language types, truthiness, explicit conversion, equality, relational comparison, BigInt boundaries, and SameValue behavior.
~7 min read Start exercise -
ExercisesIntermediate
JavaScript Control Flow and Declarations Quiz
Check your understanding of blocks, declarations, branching, control transfer, exceptions, and automatic semicolon insertion.
~8 min read Start exercise -
ExercisesIntermediate
JavaScript Scope, Environments, and Closures Quiz
Check your understanding of lexical scope, shadowing, closures, and name resolution.
~8 min read Start exercise -
Exercises
JavaScript Execution Model: Contexts, Realms, Jobs & Agents — Quiz
Check your understanding of ECMAScript execution contexts, Realms, Jobs, agents, and host boundaries.
Start exercise -
Exercises
JavaScript Explicit Resource Management — Quiz
Check your understanding of using, await using, disposal protocols, disposable stacks, and deterministic resource lifetimes.
Start exercise -
Exercises
Modern ECMAScript Update Pass — Quiz
Check your understanding of recent standardized ECMAScript additions and their ownership in the curriculum.
Start exercise -
Exercises
JavaScript Weak References & FinalizationRegistry — Quiz
Check your understanding of weak liveness, WeakRef, FinalizationRegistry, unregister tokens, and nondeterministic cleanup.
Start exercise -
ExercisesIntermediate
JavaScript Arrays Mastery Quiz
Check your understanding of array structure, mutation, copying, transformations, searching, sorting, modern copying methods, asynchronous collection, and grouping.
~8 min read Start exercise -
ExercisesIntermediate
JavaScript Async Functions and Async Iteration Quiz
Check your understanding of async functions, await, concurrency, async iterators, and async generators.
~10 min read Start exercise -
Exercises
JavaScript Binary Data — Quiz
Check your understanding of ArrayBuffer, TypedArrays, DataView, byte order, and binary data semantics.
Start exercise -
Exercises
JavaScript Classes — Quiz
Check your understanding of class values, constructors, fields, private elements, inheritance, super, and static initialization.
Start exercise -
Exercises
JavaScript Dates and Modern Time with Temporal — Quiz
Check your understanding of Date time values, UTC/local interpretation, parsing, mutation, and Temporal types.
Start exercise -
ExercisesIntermediate
JavaScript Errors and Defensive Control Flow Quiz
Check your understanding of throwing, catching, cleanup, error categories, causes, and defensive boundaries.
~8 min read Start exercise -
ExercisesIntermediate
JavaScript Function Objects and this Quiz
Check your understanding of function objects, call-site this, arrow functions, call/apply/bind, and constructors.
~8 min read Start exercise -
Exercises
JavaScript Global Object & Standard Global Functions Quiz
Check understanding of globalThis, global bindings, eval, numeric global functions, URI functions, and legacy globals.
~15 min read Start exercise -
Exercises
JavaScript Internationalization with Intl — Quiz
Check your understanding of ECMA-402 Intl services and locale-sensitive presentation.
Start exercise -
ExercisesIntermediate
JavaScript Iterators and Generators Quiz
Check your understanding of iterable and iterator protocols, generators, delegation, closing, and lazy iterator helpers.
~8 min read Start exercise -
ExercisesAdvanced
JavaScript JSON and Structured Data Quiz
Check your understanding of JSON parsing, serialization, data limits, transformation hooks, and durable contracts.
~12 min read Start exercise -
ExercisesIntermediate
JavaScript Map, Set, WeakMap, and WeakSet Quiz
Check your understanding of keyed collection identity, membership, iteration, set algebra, and weak collection boundaries.
~8 min read Start exercise -
ExercisesIntermediate
JavaScript Objects and Prototypes Quiz
Check your understanding of own properties, prototype lookup, shared methods, constructors, classes, and descriptors.
~8 min read Start exercise -
ExercisesIntermediate
JavaScript Program Architecture Quiz
Check your understanding of module boundaries, dependency direction, state ownership, adapters, lifecycle, and composition roots.
~10 min read Start exercise -
ExercisesIntermediate
JavaScript Promises Quiz
Check your understanding of Promise states, chaining, errors, cleanup, and combinators.
~10 min read Start exercise -
ExercisesIntermediate
JavaScript Property Descriptors, Accessors, and Object Integrity Quiz
Check your understanding of descriptors, accessors, and integrity levels.
~8 min read Start exercise -
ExercisesIntermediate
JavaScript Proxy and Reflect Metaprogramming Quiz
Check your understanding of proxy traps, Reflect forwarding, invariants, and revocation.
~8 min read Start exercise -
ExercisesAdvanced
JavaScript Regular Expressions Quiz
Check your understanding of ECMAScript regular-expression syntax, flags, captures, match indices, Unicode modes, and state.
~12 min read Start exercise -
Exercises
JavaScript Source Text, Lexical Grammar & Parsing — Quiz
Check your understanding of ECMAScript source text, lexical input, parsing goals, directive prologues, and automatic semicolon insertion.
Start exercise -
ExercisesAdvanced
JavaScript Symbols and Property Protocols Quiz
Check your understanding of Symbol identity, property keys, reflection, the global registry, and standardized protocol hooks.
~12 min read Start exercise -
ExercisesIntermediate
JavaScript Unicode-aware Strings Quiz
Check your understanding of UTF-16 code units, code points, surrogate pairs, well-formed strings, normalization, and text boundaries.
~12 min read Start exercise -
Exercises
JavaScript Shared Memory — Quiz
Check your understanding of SharedArrayBuffer, Atomics, atomic operations, and shared-memory coordination.
Start exercise