ES9
版本记录
版本介绍
来源:https://262.ecma-international.org/9.0/ Introduction
This specification, the 9th edition, introduces support for asynchronous iteration via the AsyncIterator protocol and async generators. This specification also includes four new regular expression features: the dotAll flag
, named capture groups
, Unicode property escapes
, and look-behind assertions
. It also includes rest parameter
and spread operator
support for object properties. There have also been many minor updates, editorial and normative, with many contributions from our awesome community.
版本概要
- Lifting template literal restriction
- s (dotAll) flag for regular expressions
- RegExp named capture groups
- Rest/Spread Properties
- RegExp Lookbehind Assertions
- RegExp Unicode Property Escapes
- Promise.prototype.finally
- Asynchronous Iteration
版本特性
TODO:待补充