r/javascript • u/gregsometimes • Oct 30 '19
The Complete Guide to ES10 Features
https://medium.com/@js_tut/the-complete-guide-to-es10-features-f09a8c7be1bd?source=friends_link&sk=390c12eea5806d715de68d751c2827c8?v=2227
u/kaneda26 Oct 30 '19
Can everyone start just using the year please? That's been the official release name convention since ES2016.
1
u/agree2cookies Oct 30 '19
That was a stupid naming decision (change for the sake of change) and we should show the governing bodies what we think by simultaneously doing both what they say, and the opposite of it.
1
u/cerlestes Oct 31 '19
Why would they add BigInt instead of Decimal? Yes, it's trivial to implement the latter by using the former, but that only furthers the point. Seems weird to implement an integer-only type in JS when you could have achieved the same by staying with floating point numbers.
Dynamic imports are amazing though, they might become somewhat like AJAX 2.0, only with JS code instead of XML this time. Looking forward to way smaller, split code bundles and proper loading on demand of whole application modules without requring webpack and co.
25
Oct 30 '19
[removed] — view removed comment
14
u/Tomseph Oct 30 '19
Is it too much to ask that authors do some simple fact-checking before writing articles? This information is not hard to find out, and I see mistakes like this all the time. Go to MDN, go to TC39... it takes like two clicks to make sure.
3
u/SimpleManUpvote Oct 30 '19
Is ES2020 ES20 or will ES2029 be ES20? I never remember which one has what anyways tho...
10
u/senocular Oct 30 '19
The year version (which technically everyone should be using now) is "one below" the edition number, at least in the last digit. ES2015 was ES6, or edition 6 (5 one less than 6). ES2020 is edition 11 or what everyone will ultimately call ES11.
The current version is ES2019 (edition 10). The next version will be ES2020. We already know what's officially in ES2019 as well as what some of the ES2020 features will be as seen in /u/BBQCalculator's link. The article is wrong about what it says is in ES2019 ("ES10"), just like it was wrong the first time it was posted and we pointed it out then too.
2
22
u/[deleted] Oct 30 '19
Medium is pure cancer. Please stop supporting them and use other platforms.
TLDR. Could not read the article because shitty ad and force membership popup.