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
-
Replying to @mathias
hey could we stop introducing new features and maybe just chill for a bit; it's so hard to keep up
3 replies 0 retweets 2 likes -
Replying to @cooljeanius @mathias
We're in period where languages are evolving fast by copying features of each other, so prepare for more \o/ I'm personally against the ones that are not ground breaking, the so-called syntactic sugar, unless they really save a lot of characters :)
1 reply 0 retweets 1 like
Replying to @jonasraoni @cooljeanius
Another way to look at it: syntactic features that make it in to the language often enable behind-the-scenes JavaScript engine optimizations that are not possible in the longer-form version. They’re more than just syntax sugar!
5:51 AM - 30 Jan 2019
0 replies
0 retweets
2 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.