Hemanth HM very succinctly shows off ES2021 features. Gosh it doesn’t feel like that long ago that all we could talk about is ES2015, and now that’s over a half-decade behind us.
There are new things like “arbitrarily chuck underscores in numbers.” I kinda dig that. Like
1_000_000_000 is the same as
1000000000 but more readable. To be honest, I barely even understand the other features.
In fact, Go uses
foras syntax sugar for other loops
A true smattering of new features.
The “minor, but useful convenience”.
The “I didn’t know I needed this”.
The “finally addresses this pain point”.
The “why wasn’t this in before?”, alternatively “finally they put this in”.
The “so esoteric, neither you, nor anybody you know knows what it does”