Practice / js

JavaScript practice

Every JavaScript exercise, built from a topic you can open beside it.

184 exercises runs offline
js Quiz new Which expression returns a numeric ascending order without changing scores? Choose array methods by return value and mutation behavior, without getting caught by sorting, sparse arrays, shallow copies, or async callbacks. beginner 1 min · from Array methods js Predict the output new What does this program print? Choose array methods by return value and mutation behavior, without getting caught by sorting, sparse arrays, shallow copies, or async callbacks. intermediate 2 min · from Array methods js Quiz new Why should a sum over a possibly empty array usually pass 0 to reduce? Choose array methods by return value and mutation behavior, without getting caught by sorting, sparse arrays, shallow copies, or async callbacks. beginner 1 min · from Array methods js Review AI code new Review a generated order report Choose array methods by return value and mutation behavior, without getting caught by sorting, sparse arrays, shallow copies, or async callbacks. advanced 6 min · from Array methods js Spot the bug new Spot the bug in async deliveries Choose array methods by return value and mutation behavior, without getting caught by sorting, sparse arrays, shallow copies, or async callbacks. intermediate 4 min · from Array methods js Quiz new What does bind change when applied to an arrow function? Arrow functions create compact function expressions and inherit this and related bindings; learn their return rules, call semantics, and callback identity. intermediate 1 min · from Arrow functions js Predict the output new What does this program print? Arrow functions create compact function expressions and inherit this and related bindings; learn their return rules, call semantics, and callback identity. beginner 2 min · from Arrow functions js Predict the output new Which name does this program print? Arrow functions create compact function expressions and inherit this and related bindings; learn their return rules, call semantics, and callback identity. intermediate 2 min · from Arrow functions js Review AI code new Review a generated order feed Arrow functions create compact function expressions and inherit this and related bindings; learn their return rules, call semantics, and callback identity. advanced 8 min · from Arrow functions js Spot the bug new Spot the bug in the account label Arrow functions create compact function expressions and inherit this and related bindings; learn their return rules, call semantics, and callback identity. intermediate 4 min · from Arrow functions js Quiz new Which statement correctly distinguishes apply from argument spread? Distinguish call, apply, and bind by timing, argument form, and binding behavior, including callback identity, array-like inputs, and construction. intermediate 1 min · from call, apply and bind js Quiz new What can bind change when its target is an arrow function? Distinguish call, apply, and bind by timing, argument form, and binding behavior, including callback identity, array-like inputs, and construction. intermediate 1 min · from call, apply and bind js Quiz new What happens when new invokes a bound function whose target is constructible? Distinguish call, apply, and bind by timing, argument form, and binding behavior, including callback identity, array-like inputs, and construction. advanced 1 min · from call, apply and bind js Predict the output new What does this program print? Distinguish call, apply, and bind by timing, argument form, and binding behavior, including callback identity, array-like inputs, and construction. intermediate 2 min · from call, apply and bind js Review AI code new Review a generated webhook client Distinguish call, apply, and bind by timing, argument form, and binding behavior, including callback identity, array-like inputs, and construction. advanced 8 min · from call, apply and bind js Spot the bug new Spot the bug in listener removal Distinguish call, apply, and bind by timing, argument form, and binding behavior, including callback identity, array-like inputs, and construction. beginner 4 min · from call, apply and bind js Fill in new Name the declaration keyword for a block-scoped binding that cannot be reassigned Fill in beginner 1 min · from checkpoint-1 js Fill in new Which exact value triggers a destructuring default initializer? Fill in intermediate 1 min · from checkpoint-1 js Fill in new Name the error class thrown when `[].reduce(callback)` has no initial value Fill in intermediate 1 min · from checkpoint-1 js Quiz new What is the value of `[1, 2, 3].map(n => n * 2)`? Quiz beginner 1 min · from checkpoint-1 js Quiz new Which expression uses `fallback` only when `count` is `null` or `undefined`, while preser… Quiz advanced 1 min · from checkpoint-1 js Quiz new Which properties does `Object.keys(value)` return? Quiz intermediate 1 min · from checkpoint-1 js Fill in new Name the kind of function parameter that must appear last in the parameter list Fill in advanced 1 min · from checkpoint-1 js Quiz new What does `typeof null` evaluate to? Quiz beginner 1 min · from checkpoint-1 js Fill in new Name the explicit-binding method that invokes a function with arguments supplied as an ar… Fill in intermediate 1 min · from checkpoint-2 js Quiz new How does an arrow function obtain `this`? Quiz beginner 1 min · from checkpoint-2 js Quiz new Given `function read() { return this.name }`, what does `read.call({ name: "Lin" })` retu… Quiz beginner 1 min · from checkpoint-2 js Fill in new Where are methods declared in a class body normally stored for instances to share? Fill in advanced 1 min · from checkpoint-2 js Fill in new Name the mechanism by which a function retains access to variables from its defining scop… Fill in beginner 1 min · from checkpoint-2 js Quiz new A method is passed directly as a callback and loses its receiver. Which narrow change pre… Quiz advanced 1 min · from checkpoint-2 js Quiz new When reading `object.label`, where does JavaScript look first? Quiz intermediate 1 min · from checkpoint-2 js Fill in new Name the error class raised when a derived class constructor reads `this` before calling … Fill in intermediate 1 min · from checkpoint-2 js Quiz new `slow` fulfills with `"slow"` after `fast` fulfills with `"fast"`. What does `await Promi… Quiz beginner 1 min · from checkpoint-3 js Fill in new Name the error class with which `Promise.any` rejects when every input rejects Fill in intermediate 1 min · from checkpoint-3 js Fill in new Name the well-known symbol method that an asynchronous iterable exposes Fill in intermediate 1 min · from checkpoint-3 js Quiz new What does calling `async function value() { return 7 }` return? Quiz intermediate 1 min · from checkpoint-3 js Quiz new Two requests are independent. Which form starts both before waiting and preserves both re… Quiz advanced 1 min · from checkpoint-3 js Quiz new A script queues a zero-delay timer, queues `Promise.resolve().then(() => log.push("microt… Quiz beginner 1 min · from checkpoint-3 js Fill in new Name the initial state of a newly created Promise before it settles Fill in beginner 1 min · from checkpoint-3 js Fill in new Name the flow-control condition that prevents a fast stream producer from overwhelming a … Fill in advanced 1 min · from checkpoint-3 js Fill in new Name the HTML element on which Alpine’s `x-if` directive must be placed Fill in intermediate 1 min · from checkpoint-4 js Fill in new Write the exact call that clears a custom validation error on `input` Fill in intermediate 1 min · from checkpoint-4 js Quiz new What does `import("./feature.js")` return? Quiz beginner 1 min · from checkpoint-4 js Fill in new Name the `try` statement block that runs for cleanup even when the `try` block returns Fill in beginner 1 min · from checkpoint-4 js Quiz new What does `JSON.stringify({ kept: 1, skipped: undefined })` return? Quiz beginner 1 min · from checkpoint-4 js Fill in new Before migrated code trusts API data returned by `JSON.parse` and exposes it to an Alpine… Fill in advanced 1 min · from checkpoint-4 js Quiz new A browser form passes every Constraint Validation API check. Which statement still holds … Quiz advanced 1 min · from checkpoint-4 js Quiz new Which Vitest assertion correctly waits for `loadUser()` to reject with `"Not found"`? Quiz intermediate 1 min · from checkpoint-4 js Predict the output new What does constructing ChildPanel print? Learn how JavaScript classes construct objects, share prototype methods, define fields, and inherit, including the initialization traps that break real code. intermediate 2 min · from Classes js Predict the output new What does this program print? Learn how JavaScript classes construct objects, share prototype methods, define fields, and inherit, including the initialization traps that break real code. beginner 2 min · from Classes js Quiz new Which statement about a field declared as #records is correct? Learn how JavaScript classes construct objects, share prototype methods, define fields, and inherit, including the initialization traps that break real code. intermediate 1 min · from Classes js Review AI code new Review a generated session store Learn how JavaScript classes construct objects, share prototype methods, define fields, and inherit, including the initialization traps that break real code. advanced 6 min · from Classes js Spot the bug new Spot the bug in product labels Learn how JavaScript classes construct objects, share prototype methods, define fields, and inherit, including the initialization traps that break real code. intermediate 4 min · from Classes js Quiz new A closure reads a let binding that is reassigned after the function is created. Which val… Closures let functions keep access to their lexical environment; understand shared bindings, loop variables, and callback lifetimes to use them reliably. intermediate 1 min · from Closures js Quiz new Two consumers need independent retry counts. Which design gives each one a separate captu… Closures let functions keep access to their lexical environment; understand shared bindings, loop variables, and callback lifetimes to use them reliably. beginner 1 min · from Closures js Predict the output new What does this program print? Closures let functions keep access to their lexical environment; understand shared bindings, loop variables, and callback lifetimes to use them reliably. beginner 2 min · from Closures js Review AI code new Review generated upload handlers Closures let functions keep access to their lexical environment; understand shared bindings, loop variables, and callback lifetimes to use them reliably. advanced 8 min · from Closures js Spot the bug new Spot the bug in named counters Closures let functions keep access to their lexical environment; understand shared bindings, loop variables, and callback lifetimes to use them reliably. intermediate 4 min · from Closures js Quiz new Which statement distinguishes strict currying from partial application? Currying fixes arguments in stages; function composition connects unary transformations while making arity, this, and async boundaries explicit. intermediate 1 min · from Currying and function composition js Quiz new Why is fn.length unsafe as the only completion rule for a universal curry helper? Currying fixes arguments in stages; function composition connects unary transformations while making arity, this, and async boundaries explicit. intermediate 1 min · from Currying and function composition js Predict the output new What does this program print? Currying fixes arguments in stages; function composition connects unary transformations while making arity, this, and async boundaries explicit. beginner 2 min · from Currying and function composition js Predict the output new What value is printed by this left-to-right pipeline? Currying fixes arguments in stages; function composition connects unary transformations while making arity, this, and async boundaries explicit. beginner 2 min · from Currying and function composition js Review AI code new Review a generated order-report pipeline Currying fixes arguments in stages; function composition connects unary transformations while making arity, this, and async boundaries explicit. advanced 8 min · from Currying and function composition js Spot the bug new Spot the bug in the account-name pipeline Currying fixes arguments in stages; function composition connects unary transformations while making arity, this, and async boundaries explicit. intermediate 4 min · from Currying and function composition js Predict the output new What does this program print? Understand JavaScript's seven primitive types, objects, runtime type checks, and coercion without losing valid 0, false, or empty strings at boundaries. intermediate 2 min · from Data types js Predict the output new What does this program print? Understand JavaScript's seven primitive types, objects, runtime type checks, and coercion without losing valid 0, false, or empty strings at boundaries. beginner 2 min · from Data types js Review AI code new Review a generated job normalizer Understand JavaScript's seven primitive types, objects, runtime type checks, and coercion without losing valid 0, false, or empty strings at boundaries. advanced 7 min · from Data types js Spot the bug new Spot the bug in the environment parser Understand JavaScript's seven primitive types, objects, runtime type checks, and coercion without losing valid 0, false, or empty strings at boundaries. beginner 4 min · from Data types js Quiz new A field must contain a complete non-negative decimal integer within the safe range. Which… Understand JavaScript's seven primitive types, objects, runtime type checks, and coercion without losing valid 0, false, or empty strings at boundaries. intermediate 1 min · from Data types js Quiz new A daily meeting must remain at 09:00 in America/New_York. Why is adding 86,400,000 millis… JavaScript's mutable representation of an instant, with precise rules for parsing, UTC and local views, formatting, arithmetic, and validation. intermediate 1 min · from Date js Quiz new What information does a valid Date object retain? JavaScript's mutable representation of an instant, with precise rules for parsing, UTC and local views, formatting, arithmetic, and validation. beginner 1 min · from Date js Predict the output new What does this program print? JavaScript's mutable representation of an instant, with precise rules for parsing, UTC and local views, formatting, arithmetic, and validation. intermediate 2 min · from Date js Review AI code new Review a generated meeting normalizer JavaScript's mutable representation of an instant, with precise rules for parsing, UTC and local views, formatting, arithmetic, and validation. advanced 8 min · from Date js Spot the bug new Spot the bug in timestamp serialization JavaScript's mutable representation of an instant, with precise rules for parsing, UTC and local views, formatting, arithmetic, and validation. beginner 4 min · from Date js Quiz new What does the empty position in const [first, , third] = iterable do? Destructuring binds values from iterables and object properties, with precise rules for defaults, nesting, rest elements, and shallow copies. intermediate 1 min · from Destructuring assignment js Predict the output new What does this program print? Destructuring binds values from iterables and object properties, with precise rules for defaults, nesting, rest elements, and shallow copies. beginner 2 min · from Destructuring assignment js Predict the output new What does this program print after the rest object is changed? Destructuring binds values from iterables and object properties, with precise rules for defaults, nesting, rest elements, and shallow copies. intermediate 2 min · from Destructuring assignment js Review AI code new Review a generated account normalizer Destructuring binds values from iterables and object properties, with precise rules for defaults, nesting, rest elements, and shallow copies. intermediate 8 min · from Destructuring assignment js Spot the bug new Spot the bug in the order label Destructuring binds values from iterables and object properties, with precise rules for defaults, nesting, rest elements, and shallow copies. intermediate 4 min · from Destructuring assignment js Quiz new Why pass a caught failure as the cause option when creating a higher-level Error? How JavaScript exceptions cross synchronous and Promise boundaries, with precise recovery, cleanup, wrapping, and aggregation. beginner 1 min · from Error handling js Predict the output new What does this program print? How JavaScript exceptions cross synchronous and Promise boundaries, with precise recovery, cleanup, wrapping, and aggregation. intermediate 2 min · from Error handling js Quiz new One input to Promise.all rejects. What happens to the other operations? How JavaScript exceptions cross synchronous and Promise boundaries, with precise recovery, cleanup, wrapping, and aggregation. intermediate 1 min · from Error handling js Review AI code new Review generated profile loader How JavaScript exceptions cross synchronous and Promise boundaries, with precise recovery, cleanup, wrapping, and aggregation. advanced 6 min · from Error handling js Spot the bug new Spot the bug in the Promise fallback How JavaScript exceptions cross synchronous and Promise boundaries, with precise recovery, cleanup, wrapping, and aggregation. intermediate 4 min · from Error handling js Quiz new What does const guarantee for const settings = { theme: "light" }? A practical map of JavaScript from ES2015 onward: bindings, concise data operations, iteration, async flow, and compatibility boundaries. beginner 1 min · from Modern JavaScript features js Predict the output new What does this program print? A practical map of JavaScript from ES2015 onward: bindings, concise data operations, iteration, async flow, and compatibility boundaries. beginner 2 min · from Modern JavaScript features js Review AI code new Review generated dashboard loader A practical map of JavaScript from ES2015 onward: bindings, concise data operations, iteration, async flow, and compatibility boundaries. advanced 6 min · from Modern JavaScript features js Spot the bug new Spot the bug in the optional chain A practical map of JavaScript from ES2015 onward: bindings, concise data operations, iteration, async flow, and compatibility boundaries. intermediate 4 min · from Modern JavaScript features js Quiz new A build transforms optional chaining for an older target. What compatibility fact does th… A practical map of JavaScript from ES2015 onward: bindings, concise data operations, iteration, async flow, and compatibility boundaries. intermediate 1 min · from Modern JavaScript features js Predict the output new What does this program print? How JavaScript decides what runs next: the call stack, task queues, microtasks, I/O phases, and cooperative yielding. beginner 2 min · from The event loop js Review AI code new Review a generated profile loader How JavaScript decides what runs next: the call stack, task queues, microtasks, I/O phases, and cooperative yielding. advanced 8 min · from The event loop js Spot the bug new Spot the bug in notification delivery How JavaScript decides what runs next: the call stack, task queues, microtasks, I/O phases, and cooperative yielding. intermediate 4 min · from The event loop js Quiz new What does a 20 ms setTimeout delay guarantee? How JavaScript decides what runs next: the call stack, task queues, microtasks, I/O phases, and cooperative yielding. beginner 1 min · from The event loop js Quiz new A subscription API removes a callback by strict identity. Which pattern can remove the re… Understand function objects, declaration timing, parameter binding, returns, and higher-order calls to write clear, testable JavaScript contracts. intermediate 1 min · from Functions js Predict the output new What does this program print? Understand function objects, declaration timing, parameter binding, returns, and higher-order calls to write clear, testable JavaScript contracts. beginner 2 min · from Functions js Predict the output new What does this program print? Understand function objects, declaration timing, parameter binding, returns, and higher-order calls to write clear, testable JavaScript contracts. beginner 2 min · from Functions js Review AI code new Review a generated invoice exporter Understand function objects, declaration timing, parameter binding, returns, and higher-order calls to write clear, testable JavaScript contracts. advanced 8 min · from Functions js Spot the bug new Spot the bug in the order projection Understand function objects, declaration timing, parameter binding, returns, and higher-order calls to write clear, testable JavaScript contracts. beginner 4 min · from Functions js Quiz new Which statement correctly compares let and const? Understand JavaScript declarations, values, coercion, comparison, and control flow through the model behind ordinary code. beginner 1 min · from JavaScript fundamentals js Predict the output new What does this program print? Understand JavaScript declarations, values, coercion, comparison, and control flow through the model behind ordinary code. beginner 2 min · from JavaScript fundamentals js Review AI code new Review generated order normalizer Understand JavaScript declarations, values, coercion, comparison, and control flow through the model behind ordinary code. advanced 6 min · from JavaScript fundamentals js Spot the bug new Spot the bug in page size parsing Understand JavaScript declarations, values, coercion, comparison, and control flow through the model behind ordinary code. beginner 4 min · from JavaScript fundamentals js Quiz new Which condition accepts an ordinary non-null object but rejects arrays? Understand JavaScript declarations, values, coercion, comparison, and control flow through the model behind ordinary code. intermediate 1 min · from JavaScript fundamentals js Quiz new What happens when break leaves a for...of loop before its generator finishes? Unify traversal with iteration protocols, produce values on demand with generators, and handle one-shot state, messaging, and early cleanup. intermediate 1 min · from Iterators and generators js Quiz new Which implementation gives a collection independent repeatable traversals? Unify traversal with iteration protocols, produce values on demand with generators, and handle one-shot state, messaging, and early cleanup. beginner 1 min · from Iterators and generators js Predict the output new What does this program print? Unify traversal with iteration protocols, produce values on demand with generators, and handle one-shot state, messaging, and early cleanup. intermediate 2 min · from Iterators and generators js Review AI code new Review generated approved-ID collector Unify traversal with iteration protocols, produce values on demand with generators, and handle one-shot state, messaging, and early cleanup. advanced 6 min · from Iterators and generators js Spot the bug new Spot the bug in catalog traversal Unify traversal with iteration protocols, produce values on demand with generators, and handle one-shot state, messaging, and early cleanup. intermediate 4 min · from Iterators and generators js Quiz new An endpoint requires a JSON object with a string orderId. What must happen after JSON.par… Understand the boundary between JSON text and JavaScript values, use parsing and serialization hooks correctly, and catch precision, type, and security traps. beginner 1 min · from JSON js Predict the output new What do these two console calls print? Understand the boundary between JSON text and JavaScript values, use parsing and serialization hooks correctly, and catch precision, type, and security traps. intermediate 2 min · from JSON js Predict the output new What does this program print? Understand the boundary between JSON text and JavaScript values, use parsing and serialization hooks correctly, and catch precision, type, and security traps. beginner 2 min · from JSON js Review AI code new Review generated payment normalizer Understand the boundary between JSON text and JavaScript values, use parsing and serialization hooks correctly, and catch precision, type, and security traps. advanced 6 min · from JSON js Spot the bug new Spot the bug in the Date replacer Understand the boundary between JSON text and JavaScript values, use parsing and serialization hooks correctly, and catch precision, type, and security traps. intermediate 4 min · from JSON js Quiz new Which requirement makes WeakMap the wrong cache structure? JavaScript's keyed and unique-value collections, including equality, insertion order, modern set operations, and weak-collection boundaries. intermediate 1 min · from Map and Set js Quiz new A Map may explicitly store undefined. Which check distinguishes that entry from an absent… JavaScript's keyed and unique-value collections, including equality, insertion order, modern set operations, and weak-collection boundaries. beginner 1 min · from Map and Set js Predict the output new What does this program print? JavaScript's keyed and unique-value collections, including equality, insertion order, modern set operations, and weak-collection boundaries. intermediate 2 min · from Map and Set js Review AI code new Review generated access index JavaScript's keyed and unique-value collections, including equality, insertion order, modern set operations, and weak-collection boundaries. advanced 6 min · from Map and Set js Spot the bug new Spot the bug in customer deduplication JavaScript's keyed and unique-value collections, including equality, insertion order, modern set operations, and weak-collection boundaries. intermediate 4 min · from Map and Set js Quiz new What does Number.EPSILON represent? Math supplies rounding, powers, roots, trigonometry, extrema, and pseudorandom values; explicit numeric contracts prevent precision and security bugs. intermediate 1 min · from Math object js Quiz new Which expression maps Math.random() to an integer in the closed interval [minimum, maximu… Math supplies rounding, powers, roots, trigonometry, extrema, and pseudorandom values; explicit numeric contracts prevent precision and security bugs. beginner 1 min · from Math object js Predict the output new What does this program print? Math supplies rounding, powers, roots, trigonometry, extrema, and pseudorandom values; explicit numeric contracts prevent precision and security bugs. beginner 2 min · from Math object js Review AI code new Review generated reading summary Math supplies rounding, powers, roots, trigonometry, extrema, and pseudorandom values; explicit numeric contracts prevent precision and security bugs. advanced 6 min · from Math object js Spot the bug new Spot the bug in highestTemperature Math supplies rounding, powers, roots, trigonometry, extrema, and pseudorandom values; explicit numeric contracts prevent precision and security bugs. beginner 4 min · from Math object js Predict the output new What does this program print? Use reachability to understand garbage collection, remove accidental retention, bound caches, and use weak collections and finalizers safely. beginner 2 min · from Memory management js Review AI code new Review a generated profile store Use reachability to understand garbage collection, remove accidental retention, bound caches, and use weak collections and finalizers safely. advanced 8 min · from Memory management js Spot the bug new Spot the bug in ticker cleanup Use reachability to understand garbage collection, remove accidental retention, bound caches, and use weak collections and finalizers safely. intermediate 4 min · from Memory management js Quiz new What happens to a cycle of two objects when no GC root can reach either object? Use reachability to understand garbage collection, remove accidental retention, bound caches, and use weak collections and finalizers safely. intermediate 1 min · from Memory management js Predict the output new What does this WeakMap lookup print? Use reachability to understand garbage collection, remove accidental retention, bound caches, and use weak collections and finalizers safely. beginner 2 min · from Memory management js Quiz new In Node 24, what primarily determines whether app.js is ESM or CommonJS? JavaScript modules define dependency boundaries; master static imports, live bindings, dynamic imports, cycles, and Node 24 resolution. beginner 2 min · from Modules js Predict the output new What does this program print? JavaScript modules define dependency boundaries; master static imports, live bindings, dynamic imports, cycles, and Node 24 resolution. intermediate 3 min · from Modules js Predict the output new How many times is evaluated printed, and what Boolean follows? JavaScript modules define dependency boundaries; master static imports, live bindings, dynamic imports, cycles, and Node 24 resolution. intermediate 3 min · from Modules js Review AI code new Review a generated report loader JavaScript modules define dependency boundaries; master static imports, live bindings, dynamic imports, cycles, and Node 24 resolution. advanced 12 min · from Modules js Spot the bug new Spot the bug in plugin loading JavaScript modules define dependency boundaries; master static imports, live bindings, dynamic imports, cycles, and Node 24 resolution. intermediate 4 min · from Modules js Quiz new After const copy = Object.assign({}, source), what is guaranteed about a nested object at… Use JavaScript Object methods precisely for own-property enumeration, shallow copying, descriptors, and integrity levels. beginner 1 min · from Object static methods js Quiz new What does Object.freeze(config) guarantee when config has a nested preferences object? Use JavaScript Object methods precisely for own-property enumeration, shallow copying, descriptors, and integrity levels. intermediate 1 min · from Object static methods js Predict the output new What does this program print? Use JavaScript Object methods precisely for own-property enumeration, shallow copying, descriptors, and integrity levels. intermediate 2 min · from Object static methods js Review AI code new Review a generated configuration projection Use JavaScript Object methods precisely for own-property enumeration, shallow copying, descriptors, and integrity levels. advanced 8 min · from Object static methods js Spot the bug new Spot the bug in hasOwnProperty Use JavaScript Object methods precisely for own-property enumeration, shallow copying, descriptors, and integrity levels. intermediate 4 min · from Object static methods js Quiz new What flags does Object.defineProperty(record, 'id', { value: 7 }) give the new property? Understand object identity, own properties, descriptors, prototype lookup, and the mechanics behind constructors and classes in JavaScript. intermediate 1 min · from Objects and prototypes js Quiz new For an ordinary constructable function C and const value = new C(), which relationship no… Understand object identity, own properties, descriptors, prototype lookup, and the mechanics behind constructors and classes in JavaScript. intermediate 1 min · from Objects and prototypes js Predict the output new What does this program print? Understand object identity, own properties, descriptors, prototype lookup, and the mechanics behind constructors and classes in JavaScript. beginner 2 min · from Objects and prototypes js Review AI code new Review a generated session builder Understand object identity, own properties, descriptors, prototype lookup, and the mechanics behind constructors and classes in JavaScript. advanced 8 min · from Objects and prototypes js Spot the bug new Spot the bug in Cart items Understand object identity, own properties, descriptors, prototype lookup, and the mechanics behind constructors and classes in JavaScript. intermediate 4 min · from Objects and prototypes js Predict the output new What does this program print? Use # private fields, methods, and brand checks to encapsulate class state without breaking inheritance, proxies, serialization, or callbacks. intermediate 2 min · from Private fields js Predict the output new What does calling the inherited static method print? Use # private fields, methods, and brand checks to encapsulate class state without breaking inheritance, proxies, serialization, or callbacks. advanced 2 min · from Private fields js Quiz new Which statement about Object.freeze(instance) and private fields is correct? Use # private fields, methods, and brand checks to encapsulate class state without breaking inheritance, proxies, serialization, or callbacks. intermediate 1 min · from Private fields js Review AI code new Review a generated profile store Use # private fields, methods, and brand checks to encapsulate class state without breaking inheritance, proxies, serialization, or callbacks. advanced 6 min · from Private fields js Spot the bug new Spot the bug in SecretBox proxying Use # private fields, methods, and brand checks to encapsulate class state without breaking inheritance, proxies, serialization, or callbacks. intermediate 4 min · from Private fields js Quiz new Why does a forwarding get trap usually call Reflect.get(target, key, receiver)? Proxy intercepts fundamental object operations while Reflect preserves their default semantics; use traps, receivers, and invariants without breaking objects. intermediate 2 min · from Proxy and Reflect js Quiz new What does calling revoke() on a revocable proxy guarantee? Proxy intercepts fundamental object operations while Reflect preserves their default semantics; use traps, receivers, and invariants without breaking objects. intermediate 2 min · from Proxy and Reflect js Predict the output new What does this program print? Proxy intercepts fundamental object operations while Reflect preserves their default semantics; use traps, receivers, and invariants without breaking objects. intermediate 3 min · from Proxy and Reflect js Review AI code new Review generated read-only invoice view Proxy intercepts fundamental object operations while Reflect preserves their default semantics; use traps, receivers, and invariants without breaking objects. advanced 12 min · from Proxy and Reflect js Spot the bug new Spot the bug in proxy validation Proxy intercepts fundamental object operations while Reflect preserves their default semantics; use traps, receivers, and invariants without breaking objects. advanced 7 min · from Proxy and Reflect js Quiz new Which API returns every match with each match’s named captures and indices? Match, capture, and transform text with JavaScript regular expressions while handling Unicode, stateful matching, dynamic input, and backtracking safely. intermediate 1 min · from Regular expressions js Quiz new A search term must be treated as literal text inside a larger Node 24 pattern. What shoul… Match, capture, and transform text with JavaScript regular expressions while handling Unicode, stateful matching, dynamic input, and backtracking safely. beginner 1 min · from Regular expressions js Predict the output new What does this program print? Match, capture, and transform text with JavaScript regular expressions while handling Unicode, stateful matching, dynamic input, and backtracking safely. intermediate 2 min · from Regular expressions js Review AI code new Review a generated release-note redactor Match, capture, and transform text with JavaScript regular expressions while handling Unicode, stateful matching, dynamic input, and backtracking safely. advanced 6 min · from Regular expressions js Spot the bug new Spot the bug in order-ID validation Match, capture, and transform text with JavaScript regular expressions while handling Unicode, stateful matching, dynamic input, and backtracking safely. intermediate 4 min · from Regular expressions js Quiz new Which call replaces every {{amount}} marker with the literal external value, even when th… Understand immutable strings, UTF-16 indexing, search, replacement, and locale rules so JavaScript handles real text boundaries correctly. intermediate 1 min · from String methods js Predict the output new What does this program print? Understand immutable strings, UTF-16 indexing, search, replacement, and locale rules so JavaScript handles real text boundaries correctly. intermediate 2 min · from String methods js Predict the output new What does this program print? Understand immutable strings, UTF-16 indexing, search, replacement, and locale rules so JavaScript handles real text boundaries correctly. beginner 2 min · from String methods js Review AI code new Review a generated name list Understand immutable strings, UTF-16 indexing, search, replacement, and locale rules so JavaScript handles real text boundaries correctly. advanced 7 min · from String methods js Spot the bug new Spot the bug in label truncation Understand immutable strings, UTF-16 indexing, search, replacement, and locale rules so JavaScript handles real text boundaries correctly. intermediate 4 min · from String methods js Quiz new An object literal has an enumerable Symbol-keyed property. Which statement is correct? Symbols are primitive values with unique identity, used for collision-free object extensions and built-in JavaScript protocol hooks. intermediate 1 min · from Symbol js Predict the output new What does this program print? Symbols are primitive values with unique identity, used for collision-free object extensions and built-in JavaScript protocol hooks. intermediate 2 min · from Symbol js Predict the output new What does this program print? Symbols are primitive values with unique identity, used for collision-free object extensions and built-in JavaScript protocol hooks. intermediate 2 min · from Symbol js Quiz new When is Symbol.for the appropriate choice? Symbols are primitive values with unique identity, used for collision-free object extensions and built-in JavaScript protocol hooks. intermediate 1 min · from Symbol js Review AI code new Review a generated plugin normalizer Symbols are primitive values with unique identity, used for collision-free object extensions and built-in JavaScript protocol hooks. advanced 6 min · from Symbol js Spot the bug new Spot the bug in the cache Symbol Symbols are primitive values with unique identity, used for collision-free object extensions and built-in JavaScript protocol hooks. beginner 4 min · from Symbol js Quiz new An arrow created inside a method reads this.id. What does arrow.call(other) do? JavaScript chooses this from the call form; understand methods, explicit binding, arrows, and construction to keep callbacks and refactors correct. intermediate 1 min · from this binding js Quiz new What happens to a bound this when a constructible bound function is called with new? JavaScript chooses this from the call form; understand methods, explicit binding, arrows, and construction to keep callbacks and refactors correct. advanced 1 min · from this binding js Predict the output new What does this program print? JavaScript chooses this from the call form; understand methods, explicit binding, arrows, and construction to keep callbacks and refactors correct. beginner 2 min · from this binding js Review AI code new Review a generated audit subscriber JavaScript chooses this from the call form; understand methods, explicit binding, arrows, and construction to keep callbacks and refactors correct. advanced 8 min · from this binding js Spot the bug new Spot the bug in the order formatter JavaScript chooses this from the call form; understand methods, explicit binding, arrows, and construction to keep callbacks and refactors correct. beginner 4 min · from this binding js Quiz new Which expression safely reads a big-endian Uint32 at byte offset 1 of an arbitrary packet… Typed arrays read compact binary data through ArrayBuffer; understand views, byte order, copies, and resizing to parse protocols and files correctly. intermediate 1 min · from Typed arrays and ArrayBuffer js Predict the output new How do the two arrays print these out-of-range and fractional values? Typed arrays read compact binary data through ArrayBuffer; understand views, byte order, copies, and resizing to parse protocols and files correctly. intermediate 2 min · from Typed arrays and ArrayBuffer js Predict the output new What does this program print? Typed arrays read compact binary data through ArrayBuffer; understand views, byte order, copies, and resizing to parse protocols and files correctly. beginner 2 min · from Typed arrays and ArrayBuffer js Review AI code new Review a generated telemetry parser Typed arrays read compact binary data through ArrayBuffer; understand views, byte order, copies, and resizing to parse protocols and files correctly. advanced 8 min · from Typed arrays and ArrayBuffer js Spot the bug new Spot the bug in Uint8Array ID reading Typed arrays read compact binary data through ArrayBuffer; understand views, byte order, copies, and resizing to parse protocols and files correctly. intermediate 4 min · from Typed arrays and ArrayBuffer js Quiz new Which list contains only values accepted as WeakMap keys in Node 24? Attach metadata and membership to object lifetimes while understanding reachability, identity, non-enumerability, and garbage collection. intermediate 1 min · from WeakMap and WeakSet js Predict the output new What does this program print? Attach metadata and membership to object lifetimes while understanding reachability, identity, non-enumerability, and garbage collection. intermediate 2 min · from WeakMap and WeakSet js Quiz new Why do WeakMap and WeakSet omit iteration and size? Attach metadata and membership to object lifetimes while understanding reachability, identity, non-enumerability, and garbage collection. intermediate 1 min · from WeakMap and WeakSet js Review AI code new Review a generated request cache Attach metadata and membership to object lifetimes while understanding reachability, identity, non-enumerability, and garbage collection. advanced 9 min · from WeakMap and WeakSet js Spot the bug new Spot the bug in cycle detection Attach metadata and membership to object lifetimes while understanding reachability, identity, non-enumerability, and garbage collection. advanced 4 min · from WeakMap and WeakSet