Skip to content

Commit de5d580

Browse files
authored
Merge pull request #801 from CyberMew/patch-3
Update article.md
2 parents 9a21e07 + e95e0ba commit de5d580

File tree

1 file changed

+2
-0
lines changed
  • 1-js/05-data-types/09-destructuring-assignment

1 file changed

+2
-0
lines changed

1-js/05-data-types/09-destructuring-assignment/article.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,8 @@ alert(item2); // Donut
383383
384384
The whole `options` object except `extra` that was not mentioned, is assigned to corresponding variables.
385385
386+
Note that `size` and `items` itself is not destructured.
387+
386388
![](destructuring-complex.png)
387389
388390
Finally, we have `width`, `height`, `item1`, `item2` and `title` from the default value.

0 commit comments

Comments
 (0)