We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9d4428 commit 00f1129Copy full SHA for 00f1129
README.md
@@ -172,3 +172,18 @@ let y = 10;
172
173
console.log(x, y) // 10, 5
174
```
175
+
176
+## Explanation
177
178
+> Destructuring is very useful, this example is the same as :
179
+> ```javascript
180
+> let x = 5;
181
+> let y = 10;
182
+> let z;
183
+>
184
+> z = x;
185
+> x = y;
186
+> y = z;
187
188
+> console.log(x, y) // 10, 5
189
+> ```
0 commit comments