Tags

JavaScript Language

JavaScript Language

0 lessons
12 question banks
1 community item

js-language

Question Banks

12 items
Question Bank

JavaScript Coercion and Equality Code Traces

Six output traces drilling on `==` vs `===`, unary `+`, falsy values, and chained relational coercion. Sharpens the rules JS applies before comparing.

JavaScript
quiz
interview-prep
fundamentals
js-language

440

10

Easy
Question Bank

JavaScript Hoisting and TDZ Code Traces

Six traces covering `var` declaration hoisting, function-declaration hoisting, TDZ access of `let`/`const`, and IIFE shadowing. Sharpens the mental model of when a binding exists vs. when it has a value.

JavaScript
quiz
interview-prep
js-hoisting
js-language

642

9

Medium
Question Bank

JavaScript Object Reference and Key Coercion Traces

Six traces covering object-key stringification, reference vs literal equality, `Object.create` prototype chains, and shallow-copy aliasing with arrays.

JavaScript
quiz
references
immutability
js-language

430

2

Easy
Question Bank

JavaScript `typeof`, NaN, and Number Quirks Traces

Six traces covering the `typeof` chain, `isNaN` vs `Number.isNaN`, `parseInt` with `map`, the comma operator, `Object.is`, and `Number()` vs `new Number()`.

JavaScript
quiz
js-language
js-number-precision
fundamentals

295

3

Easy
Question Bank
Premium

Generators and Iterators Quiz

Practice the iterator protocol from both sides: write an infinite Fibonacci generator, an async iterable, a `[Symbol.iterator]` implementation, and a `for...of` consumer.

JavaScript
quiz
generators
iterators
js-language

244

3

Hard
Question Bank
Premium

Proxy, Reflect, and Symbol Quiz

Four metaprogramming drills: a logging Proxy, a Proxy-backed data binding, Symbols as private keys, and the Reflect API for safer dynamic property work.

JavaScript
quiz
js-proxy-reflect
js-symbols
js-language

202

3

Hard
Question Bank

JavaScript Tooling and Build Trivia

Three quick-fire build-pipeline questions: transpiler vs polyfill, Babel vs SWC, and what source maps actually do.

JavaScript
quiz
js-language
interview-prep
fundamentals

1k

30

Easy
Question Bank

JavaScript Cross-Browser Event Target: Two Approaches Quiz

Two seeded approaches to read the event target across browsers (event.target plus legacy event.srcElement, and a delegated table cell editor), plus two companions on currentTarget and composedPath.

JavaScript
quiz
js-event-delegation
js-dom
js-language

340

7

Medium
Question Bank

JavaScript String-Only Regex Match: Three Approaches Quiz

Validate that a string contains only letters and whitespace, three ways (`String.prototype.match` + literal, `RegExp.test`, including-special-chars via `\D`), plus companions on Unicode letters and inverting the rule.

JavaScript
quiz
regex
strings
js-language

510

4

Medium
Question Bank

JavaScript Function Declaration vs Expression Hoisting: Two Explanations Quiz

Trace mixed declaration / expression calls before either is defined: declaration fully hoisted vs expression-as-var only binding hoisted, plus TDZ for let/const and named function expressions.

JavaScript
quiz
js-hoisting
functions
js-language

435

7

Medium
Question Bank

JavaScript Class Static vs Instance: Two Explanations Quiz

Two seeded explanations of how a `Person` class with a static method, a getter, and an instance method behaves when called via `new`, plus two companions on getter syntax and static field inheritance.

JavaScript
quiz
classes
js-prototypes
js-language

1.1k

26

Medium
Question Bank

JavaScript Set and Map Values Output: Two Explanations Quiz

Two seeded explanations of how `Set` and `Map` expose their values via iterators and what `console.log` prints when you call `.values()` on each, plus two companions on insertion-order guarantees and on de-duplication semantics.

JavaScript
quiz
arrays
js-language
interview-prep

540

13

Medium