concept ECMAScript in category javascript

appears as: ECMAScript
The Joy of JavaScript

This is an excerpt from Manning's book The Joy of JavaScript.

For many years the evolution of JavaScript had been stagnant. To put it in perspective, ECMAScript, the specification language for JavaScript, had been stuck at version 3.1 across all JavaScript engines since December of 2009. This version was later renamed as the better known ECMAScript 5 or ES5. It took us nearly six years –June 2015 to be exact—to see any progress in the language. In tech-years this is a very long time, even ATM machines get updated sooner. The problems of implementing cross-platform, cross-vendor compatible code, plus the lack of tool support, made lots of developers cringe at the idea of having to write or maintain JavaScript code for a living. As a result, developers flocked to other solutions ranging from toolkits that would cross-compile to JavaScript to other coffee-flavored transpiled languages like CoffeeScript.

ECMAScript 2015 (also known as ES6) was the biggest leap of change that JavaScript had ever seen since its inception. Amongst the most important features in this release were: classes, arrow functions, promises, template literals, blocked-scoped variables, default arguments, meta-programming support, destructuring assignment, modules, and many others (http://es6-features.org). Aside from all of these nice, most-needed language features, the most important thing to realize is that JavaScript’s evolution has now shifted to a cadence of yearly releases. Keep in mind that ES6 refers to ECMAScript 2015, ES7 to ECMAScript 2016, and so on. This is currently driven by a standards committee known as TC39 (https://github.com/tc39) composed from members of leading web companies that will also continue evolving ECMAScript, the specification language set to standardize JavaScript, known internationally as ISO/IEC 16262 or ECMA262, for short. Lots of acronyms, I know, but hopefully you got the gist of it all.

Just like function combinators (compose and curry) accept functions and return a function, promise combinators take a collection of promises and return a single promise. As you know, ECMAScript 2016 shipped with two incredibly useful static operations: Promise.all and Promise.race. In this section, we’ll review those two APIs as well as introduce you to two new combinators that help to fill in additional use cases; namely, Promise.allSettled and Promise.any.

Get Programming with JavaScript Next: New features of ECMAScript 2015, 2016, and beyond

This is an excerpt from Manning's book Get Programming with JavaScript Next: New features of ECMAScript 2015, 2016, and beyond.

In this lesson you learned that ECMAScript is the official specification for JavaScript and how the proposal process works. In the next lesson you’ll learn how to transpile features that aren’t implemented yet, so you can use them today.

1.1. A brief history of ECMAScript

JavaScript was originally created at Netscape in 1995. Later the language was submitted to Ecma International for standardization, and ECMAScript First Edition was published in 1997. Ecma International used to be known as The European Computer Manufacturers Association (ECMA), but changed its name to “Ecma International” to reflect its global position. Even though Ecma is no longer an acronym, ECMAScript still uses the uppercase ECMA. After ECMAScript was published, the following two years each saw an updated addition, with ECMAScript Third Edition, commonly referred to as ES3, being published in December of 1999.

JavaScript Application Design: A Build First Approach

This is an excerpt from Manning's book JavaScript Application Design: A Build First Approach.

5.5. Harmony: a glimpse of ECMAScript 6

As you might know, ECMAScript (ES) is the spec that defines the behavior of JavaScript code. ES6, also known as Harmony, is the (long-awaited) upcoming version of the spec. Once ES6 lands, you’ll benefit from hundreds of small and large improvements to the language, part of which I’ll cover in this section. At the time of this writing, parts of Harmony are in Chrome Canary, the edge version of Google Chrome, and also in the Firefox Nightly build. In Node, you can use the --harmony flag when invoking the node process to enable ES6 language features.