JavaScript in 2019
summary
Covers ES2019/ES10 additions and browser support details: new string methods trimStart/trimEnd; Object.fromEntries to rebuild objects from [key,value] arrays (overwrites duplicate keys); Array.prototype.flat with depth and flatMap; numeric separators for readability; optional catch binding; globalThis; private class fields using #; Function.prototype.toString preserves formatting; lookbehind in regex. Notes Promise.allSettled and Promise.any status varies across engines, Chrome implements many features (v72–77+), and Babel/Stage 3+ plugins transpile features back to ES5.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:34JavaScript standards process
- 7:28New string methods
- 10:23Object from entries
- 14:50Array flat and flat map
- 20:04Promise allSettled and any
- 27:39Optional catch binding
- 29:56Global this value
- 31:45Private class fields
- 35:59Numeric separators and fixes
- 38:54Optional chaining future
- 39:16Q&A observables in JS
related talks
01h 00mJavaScript Futures—ES2018 and Beyond
43mJavaScript in 2026
41mJavaScript in 2016
32mWhat's Coming Next to JavaScript?
45mHuman Readable JavaScript: Using ES2015+ to Craft Better Code
22mES2019 Features: What Even Are They?
01h 22mA Browse Through ES2016
37mWhat's New in JavaScript: Highlights from ECMAScript 2025
