JavaScript Cheat Sheet

This section documents modern ECMAScript and core browser JavaScript APIs — it is not tied to any specific framework or library (React, Vue, Angular, etc.). This content was generated with the assistance of AI and should be verified against the current ECMAScript specification and MDN documentation before relying on it in production, since JavaScript language features and browser API support continue to evolve.

This section’s bibliography lists the reference material consulted while preparing these pages.

A single-page, color-coded summary of the most-used language essentials — let/const, arrow functions, destructuring, template literals, classes, modules, and promises/async/await — the most common array/ string methods, and the core browser APIs (DOM selection, addEventListener, fetch) — handy for quick memorization or as a printable desk reference.

For the full syntax, every option, and additional examples, see the dedicated pages: