ECMAScript 2018 (ES2018) is the 9th version of the ECMAScript language. Main features include asynchronous iteration, rest/spread properties and various extensions to regular expressions. Only use this tag where the question specifically relates to new features or technical changes provided in ECMAScript 2018.
ECMAScript 2018 (ES2018) is the 9th version of the ecmascript language.
The following features have been introduced
- Asynchronous iteration
- Object rest/spread properties
- Lookbehind assertions for regular expressions
- Named groups for regular expressions
dotAll
(s
) flag for regular expressionsPromise.prototype.finally
- Template literal revision