Beginners Guide
19 items
Async & Performance
2 items
Performance Basics
Practical JavaScript performance tips with TypeScript examples. Learn measurement, algorithmic complexity, caching, and avoiding common bottlenecks.
Error Handling & Security
2 items
Data & Formatting
3 items
Local & Session Storage
Learn how to store, load, update, and remove data using localStorage and sessionStorage. Includes JSON parse/stringify patterns and safe helpers.
Intl API Formatting
Format currency, dates, numbers, and lists with the JavaScript Intl API. TypeScript examples for the options that change rounding, time zones, plurals, and spacing.
Dates and Time
Learn JavaScript Date, parsing, time zones, DST, date arithmetic, JSON serialization, and Temporal with safe, modern examples.
Input Sanitization
Validate, sanitize, and encode untrusted input in JavaScript. Defensive patterns for HTML, URLs, SQL, commands, and file paths, plus CSP and Trusted Types.