You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/learn-js.org/en/Destructuring.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
Tutorial
2
2
--------
3
3
4
-
Destructuring is a feature of ES6, introduced for making easier and cleaner some repetitive operations and assignments made in JS.
4
+
Destructuring is a feature of ES6, introduced for making easier and cleaner repetitive operations and assignments made in JS.
5
5
6
-
With destructuring we can data from a deeper lever inside an array / object with a more concise syntax, even giving to this 'extracted' data other name in the same operation.
6
+
With destructuring we can extract data from a deeper level inside an array / object with a more concise syntax, even giving this 'extracted' data some other name in the same operation.
7
7
8
8
In JavaScript we can achieve this in a very simply way:
0 commit comments