


How Babel Worksīabel analyses your JS code structure (as an Abstract Syntax Tree or AST) to find specific constructs, and applies a transformation to those tree nodes resulting in syntax executable by older JS runtimes. Naming things is hard, apparently even specs with clear enumeration. JS tooling, such as Babel, correctly use the official naming convention, hence why you’ll see es2015, es2016 etc.

I prefer the es as it’s short and timeless (a year will inevitably be skipped 😜). In 2015 they made a commitment to release updates to the ES spec annually, with the release year included in the official name (es2015), eschewing the original spec edition-based naming scheme (es5). The ECMA Standards Orgs define the spec for JavaScript (ECMAScript or ES) amongst other things. Babel in server and browser envs ECMAScript (ES) Specifications
