3

Coding Short: Using Spread and Destructuring in JavaScript

 3 years ago
source link: https://wildermuth.com/2021/06/23/Coding-Short-Using-Spread-and-Destructuring-in-JavaScript
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Coding Short: Using Spread and Destructuring in JavaScript

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK