Topics in this subject

30 topics

JavaScript

0 of 30 complete 0%
01 2 min read

Part 1 — Mental Model

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

02 1 min read

Part 2 — Loading & Running

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

03 2 min read

Part 3 — Syntax

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

04 4 min read

Part 4 — Variables

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

05 3 min read

Part 5 — Data Types

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

06 3 min read

Part 6 — Operators

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

07 2 min read

Part 7 — 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) 🟢

08 2 min read

Part 8 — Control Flow

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

09 4 min read

Part 9 — Functions

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

10 3 min read

Part 10 — Objects

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

11 3 min read

Part 11 — Arrays

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

12 2 min read

Part 12 — Strings

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

13 2 min read

Part 13 — Numbers & Math

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

14 2 min read

Part 14 — Dates

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

15 2 min read

Part 15 — Error Handling

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

16 4 min read

Part 16 — Asynchronous JavaScript

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

17 3 min read

Part 17 — The DOM

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

18 2 min read

Part 18 — Modules

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

19 2 min read

Part 19 — Object-Oriented JavaScript

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

20 3 min read

Part 20 — Advanced JavaScript

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

21 2 min read

Part 21 — Browser APIs

Revision notes.

22 1 min read

Part 22 — Node.js Basics

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

23 2 min read

Part 23 — Design Patterns

Revision notes.

24 2 min read

Part 24 — Security

Revision notes.

25 2 min read

Part 25 — Performance

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

26 1 min read

Part 26 — Best Practices

Revision notes.

27 6 min read

Part 27 — Interview Preparation

Beginner, Intermediate, Advanced, Expert

28 4 min read

Part 28 — Practice

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

29 2 min read

Part 29 — Cheat Sheets

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

30 3 min read

Part 30 — Appendix

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