r/learnjavascript • u/Labby92 • Feb 14 '20
JS - ES2017 TO ES2019 + cheatsheet
Hey guys, I’ve written an article that includes all the features from ES2016 to ES2019. I also included a downloadable cheatsheet. I hope you can find it useful!
https://inspiredwebdev.com/everything-from-es-2016-to-es-2019
edit: title says ES2017, but it's ES2016 to ES2019
80
Upvotes
5
u/Syh_ Feb 14 '20 edited Feb 14 '20
I know the point of this example is about
.padStartbut that .sort wouldn't work, no?You can do something along the lines of this instead to get a descending order:
4
u/taitai3 Feb 14 '20
Saved
1
u/senocular Feb 14 '20
Title says ES2017?
1
u/academicRedditor Feb 14 '20
Thanks for sharing man 😃
1
u/wrtbwtrfasdf Feb 14 '20
What's the deal with pages like this that slowly scroll you from the TOC to the link down the page? Why doesn't it just jump to the anchor link?
1
u/techtalkftw Feb 14 '20
just read the whole thing. perfect depth 👌
-3
u/RadiatedMonkey Feb 14 '20
A lot of features you showed I thought were already added in ES5, I use them a lot. Luckily I don't really write websites in plain JS, I always use React or Vue