ECMAScript 2016 는 (흔히 JavaScript로 알려져 있는) ECMA-262 표준의 차세대 버전 입니다. ECMAScript 2015이 2015년 6월 17일에 확정되었음에도 불구하고 새로운 특징들이 이미 제안되고 있습니다. 기능 제안에 대한 최신 후보들은 tc39/ecma262 GitHub 저장소에서 보실 수 있습니다.
현재 규격 개발에 관한 사항들은 각 기능들에 대한 stages와 champions를 안내하면서 해결할 예정입니다. 또한, 2년마다 표준을 배포하는 것이 제안되어 있습니다. post-ES2015 규격 처리방안에 대해 더 알고싶으시다면, Rafael Weinstein의 발표자료를 참고하세요.
ECMAScript 표준에 대한 피드백을 위한 채널은 es-discuss 입니다.
ECMAScript 2016
다음 ES2016기능들이 구현되었습니다.
Array.prototype.includes()
(Firefox 43)TypedArray.prototype.includes()
(Firefox 43)- Generators and generator methods are no longer constructable (Firefox 43)
- Proxy enumerate handler removed (Firefox 47)
- Exponentiation operator (Firefox 52)
- Rest parameter destructuring (Firefox 52)
ECMAScript 2017
다음 ES2017기능들이 구현되었습니다.
Object.values()
andObject.entries()
(Firefox 47)String.prototype.padEnd()
(Firefox 48)String.prototype.padStart()
(Firefox 48)Object.getOwnPropertyDescriptors()
(Firefox 50)- Async Functions
async function
(Firefox 52)async function expression
(Firefox 52)AsyncFunction
(Firefox 52)await
(Firefox 52)
- Trailing commas in function parameter lists (Firefox 52)
실험 단계(특성)
다음 기능은 이미 구현되어 있지만, Firefox Nightly channel에서만 이용 가능합니다.:
Additions to the ArrayBuffer
object
New TypedObject objects
- Based on Typed Objects draft, and exposed via a global
TypedObject
object, e.g.TypedObject.StructType
&TypedObject.ArrayType
. This feature is non-standard and not documented.