New JavaScript features in Node.js v12:
Array#{flat,flatMap}
class fields
globalThis
Intl.{ListFormat,Locale,RelativeTimeFormat}
Object.fromEntries
stable Array#sort
String#matchAll
Symbol#description
well-formed JSON.stringify
-
Show this thread
-
Replying to @mathias
Are class fields what the MDN explains under “private field declarations”?https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes …
1 reply 0 retweets 2 likes -
Replying to @Neosublimation
I wrote a slightly more detailed explanation here: https://developers.google.com/web/updates/2018/12/class-fields …
1 reply 0 retweets 3 likes -
Replying to @mathias @Neosublimation
why not using a private keyword? # prefix seems very unintuitive :(
1 reply 0 retweets 1 like
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.