Learn what arrow functions, classes, and template strings do when you encounter them in modern JavaScript code.
Understand the difference between let, const, and var, and when to use each one.
Get up to speed on ES6 features if you learned JavaScript before 2015 and want to catch up.
Reference destructuring and promise syntax when writing or reviewing modern JavaScript.
ECMAScript 6 (also called ES6 or ECMAScript 2015) is a major update to JavaScript, the programming language that runs in web browsers and many server environments. This repository is a reference document that catalogs and explains all the new features introduced in ES6, which was the first significant upgrade to JavaScript since 2009. The project does not contain runnable software, it is a written guide with code examples showing what each new feature looks like and how it works. It covers things like arrow functions (a shorter way to write functions that also handles the keyword "this" differently), classes (a cleaner syntax for object-oriented programming), template strings (a way to embed variables directly inside text), destructuring (a way to unpack values from arrays or objects in a single line), let and const (new ways to declare variables with stricter scoping rules), promises (a structured approach to handling asynchronous operations), and many more, roughly twenty features in total. You would use this as a learning resource when you are transitioning from older JavaScript to modern JavaScript, or when you want to understand what a specific ES6 syntax means when you encounter it in a codebase. It is particularly useful for developers who learned JavaScript before 2015 and want a concise overview of what changed.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.