Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

FYI, the ES2019 spec has been published[1] already and optional chaining and pipeline operator are not in it.

If you want to know what's new in ES2019, look no further than the [Introduction](https://www.ecma-international.org/ecma-262/10.0/index.html#...) section in the spec.

> This specification, the 10th edition, introduces a few new built-in functions: flat and flatMap on Array.prototype for flattening arrays, Object.fromEntries for directly turning the return value of Object.entries into a new Object, and trimStart and trimEnd on String.prototype as better-named alternatives to the widely implemented but non-standard String.prototype.trimLeft and trimRight built-ins. In addition, this specification includes a few minor updates to syntax and semantics. Updated syntax includes optional catch binding parameters and allowing U+2028 (LINE SEPARATOR) and U+2029 (PARAGRAPH SEPARATOR) in string literals to align with JSON. Other updates include requiring that Array.prototype.sort be a stable sort, requiring that JSON.stringify return well-formed UTF-8 regardless of input, and clarifying Function.prototype.toString by requiring that it either return the corresponding original source text or a standard placeholder.

[1] https://www.ecma-international.org/ecma-262/10.0/index.html



Of course the two features I was most excited about aren't in the actual spec...




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: