Topics in this subject

32 topics

JavaScript

0 of 32 complete 0%
✓
01 2 min read

Mental Model

What JS is in one screen, ECMAScript vs JavaScript, engines & runtimes, JIT — the fast-path rules

✓
02 1 min read

Loading & Running

Script loading: defer vs async vs module 🎯, runtimes, the console snapshot trap

✓
03 2 min read

Syntax

Comments, Semicolons and ASI, Identifiers, keywords, naming, Strict mode, Literals, expressions, statements

✓
04 5 min read

Variables

var, let, const, Hoisting, The Temporal Dead Zone (TDZ), Scope, Reassignment vs mutation, immutability

✓
05 4 min read

Data Types

Primitives, Reference types, typeof, instanceof, Object.prototype.toString, Boxing and wrapper objects

✓
06 4 min read

Operators

Arithmetic, Assignment, Comparison, Logical & short-circuiting, Nullish coalescing ??

✓
07 4 min read

Spread, Rest & Default Params

One syntax (…) two opposite jobs, plus default parameters — the trio everyone confuses, made clear with a mental model, diagram, and gotchas.

✓
08 3 min read

Destructuring

Unpack arrays & objects into variables — positional vs by-key, defaults, renaming, nesting, swapping, and function-param destructuring.

✓
09 2 min read

Type Conversion & Coercion

The three abstract conversions, + is special, The infamous outputs, explained, Truthy and falsy, Explicit conversion (do this instead of relying on coercion) 🟢

✓
10 4 min read

Control Flow

Conditionals, Loops, break, continue, labels, Iteration method comparison 🎯, Recursion

✓
11 8 min read

Functions

Ways to define, Arrow vs regular — the differences that matter 🎯, Parameters: defaults, rest, destructuring, arguments, Higher-order functions, callbacks, pure/impure

✓
12 4 min read

Objects

Creating objects, Property descriptors, Prototypes & the prototype chain 🎯, Inheritance patterns, Key object methods

✓
13 3 min read

Arrays

Method reference, reduce deeply, Creating & copying, Holes & sparse arrays ⚠️, Time complexity 🎯

✓
14 3 min read

Strings

Common methods, Template literals & tagged templates, Unicode reality ⚠️ 🎯, Regex quick primer

✓
15 3 min read

Numbers & Math

IEEE-754 double precision 🎯, Special values, Safe integers & precision, BigInt, The Math object

✓
16 2 min read

Dates

Getting & formatting, Intl formatting 🟢, Temporal (the future) 🟢

✓
17 2 min read

Error Handling

Error types, Custom errors 🟢, Async errors ⚠️ 🎯

✓
18 8 min read

Asynchronous JavaScript

Why async exists, The event loop, precisely 🎯, Callbacks & callback hell, Promises, async / await

✓
19 4 min read

The DOM

Selecting, Creating, inserting, removing, Traversal & attributes, Events, bubbling, capturing, delegation 🎯, Forms & storage

✓
20 2 min read

Modules

CommonJS (Node legacy) 🟡, ES Modules (ESM) 🟢, Dynamic import, ESM vs CommonJS 🎯

✓
21 3 min read

Object-Oriented JavaScript

Static, private, and checks, Composition vs inheritance & mixins 🎯, SOLID in JS (pragmatic)

✓
22 4 min read

Advanced JavaScript

Execution context & the call stack, Memory, garbage collection, weak references, Symbols & well-known symbols, Iterators & generators, Tail calls

✓
23 2 min read

Browser APIs

Revision notes.

✓
24 1 min read

Node.js Basics

Core modules, HTTP server, Events (EventEmitter), Streams & buffers, process & timers

✓
25 2 min read

Design Patterns

Revision notes.

✓
26 2 min read

Security

Revision notes.

✓
27 2 min read

Performance

Debounce & throttle 🎯, Memory leaks — common causes, Loading & rendering

✓
28 1 min read

Best Practices

Revision notes.

✓
29 6 min read

Interview Preparation

Beginner, Intermediate, Advanced, Expert

✓
30 4 min read

Practice

Coding exercises (with solutions), Output prediction (predict, then check), Debugging (spot the bug), MCQs (answers below), Mini projects (build these)

✓
31 2 min read

Cheat Sheets

Truthy / Falsy, Equality quick table, Array methods — mutate vs return-new, String methods, Object methods

✓
32 3 min read

Appendix

ECMAScript version timeline, Common quirks (quick answers), Common beginner mistakes, Interview traps checklist, Glossary (A–Z, condensed)