Flashcards › Math & Programming
Math & Programming

Free JavaScript Basics Flashcards

JavaScript’s everyday methods — array transforms, async patterns, equality quirks — are a finite set worth knowing cold. These cards cover the operations that appear in virtually every codebase.

Study these 10 starter cards

FlashcardsLearn mascot
QUESTION
Tap the card to reveal the answer
QJS: what is the difference between == and ===?
A=== compares without type coercion (strict equality); == coerces types first
QJS: transform every element of an array?
Aarray.map(x => ...)
QJS: keep only elements matching a condition?
Aarray.filter(x => condition)
QJS: reduce an array to a single value?
Aarray.reduce((acc, x) => ..., initial)
QJS: what does const prevent?
AReassignment of the binding — object contents can still mutate
QJS: syntax for an async function that awaits a fetch?
Aasync function f() { const res = await fetch(url); }
QJS: check if a value is an array?
AArray.isArray(value)
QJS: what is a closure?
AA function that retains access to variables from the scope where it was created
QJS: spread an array into a new one?
Aconst copy = [...original]
QJS: what does JSON.stringify do?
ASerializes a value to a JSON string

Turn these into lasting memory

Reading answers is recognition — remembering them next month takes spaced repetition. Keep this deck and we'll bring every card back at the right moment.

Keep these 10 cards — free →

How to study javascript basics with flashcards

Related flashcard topics

TypeScript BasicsReact BasicsRegex BasicsComputer Science TermsExcel Shortcuts & FunctionsMultiplication Tables

Got your own notes?

Paste any list — notes, a spreadsheet, an Anki or Quizlet export — and you're studying it in about twenty seconds. No account needed to start.

Paste your notes →