2019-06-20
1652
Faraz Kelhini
2724
Jun 20, 2019 ⋅ 5 min read

5 ES2019 features you can use today

Faraz Kelhini JavaScript developer.

Recent posts:

the replay march 11

The Replay (3/11/26): Eng knowledge gaps, OpenClaw, and more

Discover what’s new in The Replay, LogRocket’s newsletter for dev and engineering leaders, in the March 11th issue.

Matt MacCormack
Mar 11, 2026 ⋅ 26 sec read
ai training alexandra spalato

Your engineering team’s AI training is probably failing: How to fix it

Buying AI tools isn’t enough. Engineering teams need AI literacy programs to unlock real productivity gains and avoid uneven adoption.

Alexandra Spalato
Mar 11, 2026 ⋅ 4 min read
5 Reasons your AI app fails in production (And how to fix it)

5 reasons your AI app fails in production (and how to fix it)

If your AI app or agent works perfectly in development but falls apart in production, you’re not alone. In a […]

Elijah Asaolu
Mar 10, 2026 ⋅ 8 min read
Speed kills It’s time to retire ESLint and migrate to Oxlint

Speed kills: It’s time to retire ESLint and migrate to Oxlint

Compare ESLint and Oxlint, benchmark real speed gains, and learn when migrating to Oxlint makes sense for modern JavaScript teams.

Amazing Enyichi Agu
Mar 10, 2026 ⋅ 6 min read
View all posts

2 Replies to "5 ES2019 features you can use today"

  1. I think we can also use the keyword Infinity to flatten the array regardless of depth as
    [1,2,3,[4,5],6,[7,8,[9]]].flat(Infinity) //1,2,3,4,5,6,7,8,9

Leave a Reply

Your email address will not be published. Required fields are marked *

Would you be interested in joining LogRocket's developer community?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now