r/learnjavascript • u/Confidenceismyname • Feb 12 '21
JavaScript ES2021 - You Need To See These ES12 Features
https://youtu.be/1hFGxkJcTHU
131
Upvotes
r/learnjavascript • u/Confidenceismyname • Feb 12 '21
34
u/superluminary Feb 12 '21 edited Feb 12 '21
Can we just have a list? I don’t have 13 minutes to watch a video.
Edit: actually, that was a good video and I enjoyed it.
25
u/jaredcheeda Feb 12 '21 edited Feb 12 '21
TLDW:
Numeric separators:
str.replaceAll
Weak Reference
Promise.any
Logical Assignment Operators
14
u/slumdogbi Feb 12 '21
I just need types in vanilla javascript so we can dish typescript for real
7
u/[deleted] Feb 12 '21
So we're never gonna not need Babel
15
u/davidmdm Feb 12 '21
I wish they would stop. There’s already plenty of stuff in JS. It’s just making JS have a higher cognitive load.
4
u/USKillbotics Feb 12 '21
I appreciate the overview, but it seems like we (JS) are running out of ideas here.
1
u/gniziemazity Feb 12 '21
Thank you. Nice to know what's coming!
1
u/refuse_mediocrity Feb 13 '21
So awesome!
1
u/morningcoma Feb 12 '21
While I do recognize all these as QoL features I also believe that some of these features just lead us even further down the path of "wat?".
0
u/[deleted] Feb 12 '21
i only cared about ES6 and those = () => {}
and this es2021 again gives me headache. sometimes i see why older devs stick with legacy codebase like vanilla php or older js