ECMAScript 2016 was recently standardized. This blog post tracks what features may be included in ES2017. I will continually update it.
Last updated 2016-09-02.
Proposed ECMAScript features
- Stage 4 means that a feature will probably be in the next release.
- Stage 3 means that a feature still has a chance of being included in the next release.
The following features are finished (part of the latest ECMAScript specification draft):
- Object.values/Object.entries (Jordan Harband)
- String padding (Jordan Harband, Rick Waldron)
Object.getOwnPropertyDescriptors()(Jordan Harband, Andrea Giammarchi)
- Trailing commas in function parameter lists and calls (Jeff Morrison)
- Async Functions (Brian Terlson)
No features are currently at stage 4.
The following features are currently at stage 3:
- SIMD.JS – SIMD APIs + polyfill (John McCutchan, Peter Jensen, Dan Gohman, Daniel Ehrenberg)
Function.prototype.toStringrevision (Michael Ficarra)
- Template Literal Revision (Tim Disney)
If you are wondering what stages other proposed features are in, consult the readme of the ECMA-262 GitHub repository.
SIMD.JS – SIMD APIs + polyfill (John McCutchan, Peter Jensen, Dan Gohman, Daniel Ehrenberg)
SIMD stands for “single instruction, multiple data”, the ability of a CPU to apply an operand to vectors of values (instead of single values). One popular example of a SIMD instruction set is SSE (Streaming SIMD Extensions), as supported by Intel processors.
This is a short code example, consult the sources below for more information.
var a = SIMD.float32x4(1.0, 2.0, 3.0, 4.0); var b = SIMD.float32x4(5.0, 6.0, 7.0, 8.0); var c = SIMD.float32x4.add(a,b);