All posts
JavaScript Intermediate #5 Optional Chaining and Nullish Coalescing
`?.` for safe deep-object access, `??` to clarify the falsy-vs-nullish difference, and assignment variants like `??=`.
JavaScript Intermediate #4 Destructuring and spread/rest in Depth
Destructuring and spread covered lightly in basics, taken further — nested patterns, parameter usage, common pitfalls and idioms.
JavaScript Intermediate #3 Iterators and Generators
From the iterable protocol that for...of follows, to building your own iterables, to expressing lazy sequences with generators.
JavaScript Intermediate #2 Async Intro — Promise and async/await
From the limits of callbacks to Promise's three states and the directness of async/await — JavaScript async covered start to finish.
JavaScript Intermediate #1 Classes
ES2015+ class syntax, getter/setter, static members, private fields (#), and static blocks — the full picture of modern JavaScript classes.
JavaScript Basics #7 Modules — import and export
The ES Modules system for splitting code across files — named export, default export, plus common pitfalls and recommended patterns.
JavaScript Basics #6 Strings and Template Literals
Common string methods, clean composition with template literals, and regex basics — search, replace, capture.
JavaScript Basics #5 Objects and Arrays
Objects and arrays — basic usage, common methods (map/filter/reduce), and modern syntax like spread and destructuring.
JavaScript Basics #4 Functions
The differences among the three function definition styles (declaration/expression/arrow), default and rest parameters, and what hoisting is.
JavaScript Basics #3 Control Flow
if/else, while, for, for...of, for...in, switch — JavaScript's branching and looping syntax, plus the gotchas and idioms you'll meet often.
JavaScript Basics #2 Variables and Types
How to choose between let/const, JavaScript's 8 primitive types, the difference between primitive vs reference, and the common pitfalls of type conversion.
JavaScript Basics #1 Getting Started and Setup
From where JavaScript runs to building a modern dev environment with Node and Vite and running your first piece of code — all in one place.