Smart Scheduling

Spaced repetition

Back to JavaScript Fundamentals

Cards

10 cards in JavaScript Fundamentals

Select all

What is event bubbling?

When an event triggers on a nested element, it "bubbles up" through its parent elements in the DO...

Due
Created Dec 18, 2025Ease: 2.50Interval: 1 days

What is the purpose of Promise.all()?

Takes an array of promises and returns a single promise that resolves when all input promises res...

Due
Created Dec 18, 2025Ease: 2.50Interval: 0 days

What does Array.map() do?

Creates a new array with the results of calling a function on every element in the calling array

Due
Created Dec 18, 2025Ease: 2.75Interval: 27 days

What is destructuring in JavaScript?

A syntax that allows unpacking values from arrays or properties from objects into distinct variables

Due
Created Dec 18, 2025Ease: 2.39Interval: 6 days

What is the difference between "let" and "var"?

"let" is block-scoped and not hoisted, "var" is function-scoped and hoisted to the top

Due
Created Dec 18, 2025Ease: 2.50Interval: 1 days

What is the purpose of "async/await"?

Syntactic sugar for promises that makes asynchronous code easier to write and read in a synchrono...

Due
Created Dec 18, 2025Ease: 2.50Interval: 0 days

What does the spread operator (...) do?

Expands an iterable into individual elements, useful for copying arrays/objects or passing functi...

Due
Created Dec 18, 2025Ease: 2.67Interval: 10 days

What is a closure in JavaScript?

A function that has access to variables from its outer (enclosing) scope, even after the outer fu...

Due
Created Dec 18, 2025Ease: 2.50Interval: 5 days

What is the difference between "==" and "==="?

"==" compares values with type coercion, "===" compares both value and type (strict equality)

Due
Created Dec 18, 2025Ease: 2.50Interval: 1 days

What does "const" do in JavaScript?

Declares a block-scoped constant that cannot be reassigned after initialization

Due
Created Dec 18, 2025Ease: 2.50Interval: 0 days