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 @RubenVerborgh
Exactly! If you’re using @babeljs and especially babel/preset-env, you’re good already :)
2:57 PM - 30 Jan 2019
0 replies
0 retweets
0 likes
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.