r/node • u/vzhou842 • Apr 23 '19
Introducing Node.js 12
https://medium.com/@nodejs/introducing-node-js-12-76c41a1b3f3f11
u/PM_ME_DON_CHEADLE Apr 24 '19
omfg import statements fucking finally.
1
Apr 24 '19
[removed] — view removed comment
2
u/Lukalinda Apr 24 '19
No not yet. They hope for it to be by October when node 12 enters LTS.
1
4
u/NoInkling Apr 24 '19
List of some of the new ES features/APIs now available thanks to V8 7.4 (compared to 7.0 in Node 11):
Class fields (both public and private)
Object.fromEntriesString.prototype.matchAllSome new
IntlAPIs
6
u/ATHP Apr 23 '19
I like the private fields. Good move in the right direction.
5
u/Capaj Apr 23 '19
I hate them. Gone are the days when you could simply monkey patch anything you might encounter at runtime.
4
1
Apr 24 '19
Can't wait to try out async stack traces. At the moment async/await can quickly turn into a debugging nightmare.
1
11
u/EntroperZero Apr 23 '19
Sigh. AWS Lambda is still on Node 8. They just recently rolled out Node 10 in Elastic Beanstalk.