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:
https://www.youtube.com/YwpCrfnDjg0
If you like the video, don't forget to subscribe to be notified of new videos!
Subscribe to my YouTube Channel
This work by Shawn Wildermuth is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Based on a work at wildermuth.com.
If you liked this article, see Shawn's courses on Pluralsight.
Top comments (0)