ES2021 Features

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 …


The post ES2021 Features appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.


This content originally appeared on CSS-Tricks and was authored by Chris Coyier

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.

It’s interesting to observe the JavaScript truck moving forward with new features, while also being around people that write Go a lot and how starkly different, philosophically, it seems to me. Like there is only one kind of loop in Go, a for loop, and that’s it, while JavaScript has a bunch of them—four just for Arrays! Go doesn’t add syntactic sugar on purpose, while JavaScript feels addicted to it. Sugar is a helluva drug.

Direct Link to ArticlePermalink


The post ES2021 Features appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.


This content originally appeared on CSS-Tricks and was authored by Chris Coyier


Print Share Comment Cite Upload Translate Updates
APA

Chris Coyier | Sciencx (2021-07-27T23:18:12+00:00) ES2021 Features. Retrieved from https://www.scien.cx/2021/07/27/es2021-features/

MLA
" » ES2021 Features." Chris Coyier | Sciencx - Tuesday July 27, 2021, https://www.scien.cx/2021/07/27/es2021-features/
HARVARD
Chris Coyier | Sciencx Tuesday July 27, 2021 » ES2021 Features., viewed ,<https://www.scien.cx/2021/07/27/es2021-features/>
VANCOUVER
Chris Coyier | Sciencx - » ES2021 Features. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/07/27/es2021-features/
CHICAGO
" » ES2021 Features." Chris Coyier | Sciencx - Accessed . https://www.scien.cx/2021/07/27/es2021-features/
IEEE
" » ES2021 Features." Chris Coyier | Sciencx [Online]. Available: https://www.scien.cx/2021/07/27/es2021-features/. [Accessed: ]
rf:citation
» ES2021 Features | Chris Coyier | Sciencx | https://www.scien.cx/2021/07/27/es2021-features/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.