Coding Short: Using Spread and Destructuring in JavaScript

June 23, 2021
No Comments.

I’ve been working on websites for a long time now. That means that I’ve been writing client-side JavaScript since the early days. As the ECMAScript standards have come out, I’ve found it difficult to keep up with every new feature that might help me write better JavaScript.

Two of the features that slipped through the cracks for me are the Spread and Destructuring features in JavaScript. These were introduced in ECMAScript 2016 and 2018. This has taught me to try and pay more attention as new features are added.

In a new Coding Short video, I show how these two features are somewhat related and can help you save quite a lot of time and code. Take a look:

If you like the video, don’t forget to subscribe to be notified of new videos!

Subscribe to my YouTube Channel