JS: ECMAScript 2019

By Xah Lee. Date: . Last updated: .

Array methods

Object methods

String methods

Symbol property

Sort is now stable

Optional catch binding parameters

now this is legal. the catch without parameter:

try {body} catch {body}

JSON.stringify well formed utf8

requiring that JSON.stringify return well-formed UTF-8 regardless of input

Function.prototype.toString

clarifying Function.prototype.toString by requiring that it either return the corresponding original source text or a standard placeholder.

String literals, allow line seperator etc

and allowing U+2028 (LINE SEPARATOR) and U+2029 (PARAGRAPH SEPARATOR) in string literals to align with JSON.