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:
Language reference — Legacy Features to Avoid, Lexical Structure, Types & Conversions, Arrays & Typed Arrays, Functions, Expressions & Operators, Iterators & Generators, Statements, Objects & Destructuring, Function Parameters & Namespaces, Classes, Modules, Standard Library: Collections, Standard Library: Regular Expressions, Standard Library: Dates, Errors & JSON, Standard Library: Internationalization, Standard Library: Console, URL & Timers, Standard Library: Metaprogramming, and Asynchronous JavaScript.
JavaScript in the browser — Web Programming Basics, Events, Accessing CSS from JavaScript, Document Geometry & Scrolling, Animations via JavaScript, Canvas, WebGL & Three.js, Audio & Video APIs, Location, Navigation, History & Geolocation, Storage, Networking, and Web Workers.