#JavaScript

30 posts

JavaScript Basics #6 Strings and Template Literals
6 min read

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
7 min read

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
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.

JavaScript Basics #3 Control Flow
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.

JavaScript Basics #2 Variables and Types
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.

JavaScript Basics #1 Getting Started and Setup
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.