#JavaScript
28 posts
6 min read
JavaScript Basics #4 Functions
The differences among the three function definition styles (declaration/expression/arrow), default and rest parameters, and what hoisting is.
6 min read
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.
6 min read
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.
5 min read
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.