Paul Krill
Editor at Large

JavaScript specification gets official thumbs-up

news
Jun 20, 20162 mins

ECMAScript 2016 has limited new features due to the new philosophy of providing smaller, more frequent updates

thumbs up approved
Credit: anthony kelly

The latest version of the official specification underlying JavaScript, ECMAScript 2016, has been approved by ECMA International.

Developed under a premise of providing more frequent but smaller updates to the specification, ECMAScript 2016 has been very limited in scope. New features include an Array.Prototype.includes method, to determine if an array includes a certain element, and an exponentiation operator, for working with variables. Browser vendors like Google and Firefox have been in the habit of supporting ECMAScript specifications ahead of their official approvals anyway.

“If you are disappointed that your favorite stage 3 feature did not make it into ES2016–– don’t worry,” said JavaScript blogger and author Axel Rauschmayer early this year. “With the new release process, it’s more about the stage a proposal is in than what release it is a part of. As soon as a proposal reaches stage 4, it is done and safe to use. You’ll still have to check whether the JavaScript engines that are relevant to you support the feature, but you have to do that with ES6 features, too.”

Next up in the process is ECMAScript 2017. “This version is very much a work in progress,” Rauschmayer said on Friday. “So far, only Object.values/Object.entries is a confirmed feature. Among the features that may be part of it, I’m most looking forward to async functions, which will greatly simplify writing asynchronous code.”

Async functions had been a possibility for ECMAScript 2016. Also, an object.observe feature, which would have allowed for direct observation of changes to objects, was nixed as a proposed feature due to its becoming unfeasible.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author