Array & Object Destructuring in JavaScript

preview_player
Показать описание
In this video, I'm going to show you how destructuring works in JavaScript.

Here's a quick rundown of what you're about to learn:

First, I'll show you how destructuring is done with arrays (here we'll use square brackets to hold the extracted values from arrays).

Next, you will learn how destructuring is done with objects (here we'll use curly braces to hold the extracted values from objects).

In the end, you'll have understood how destructuring works in JavaScript for both arrays and objects.
Рекомендации по теме