New JavaScript features in ES2019:
Array#{flat,flatMap}
Object.fromEntries
String#{trimStart,trimEnd}
Symbol#description
try { } catch {} // optional binding
JSON ⊂ ECMAScript
well-formed JSON.stringify
stable Array#sort
revised Function#toString
-
Show this thread
-
For JavaScript developers, Practically speaking, it doesn’t *really* matter which exact ECMAScript version includes a given feature. What’s more interesting is whether the feature is shipping or not, which happens at proposal stage 3.
2 replies 9 retweets 107 likesShow this thread -
For example, optional catch binding shipped in V8 v6.6/Chrome 66, in early 2018. It’ll be part of ES2019 which only gets officially published in mid-2019.
Don’t worry about version numbers
Don’t wait for versioned spec snapshots to be published to start using new features3 replies 11 retweets 104 likesShow this thread -
Replying to @mathias
V8 is awesome, what about other engines? Are they keeping up?
1 reply 0 retweets 0 likes -
Replying to @sompylasar @mathias
Exactly. How should we 'just use them'? Is it through transpilers?
1 reply 0 retweets 0 likes
Depends on your environment. But yeah, in general I recommend using babel/preset-env!
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.