DESCRIPTION
Null coalescing operator, optional chaining, and Array.flat method are all amazing. It's worth to follow ESNext features to be up-to-date with new possibilities.
Explore ECMAScript
Summary
- ECMAScript brings up new features every year to the JavaScript world.
- It's challenging to stay up-to-date but also rewarding.
- Optional chaining is a true game-changer for writing code.
- If it comes to arrays, worth taking a look at all the available methods e.g. on devdocs.io.