Skip to content

Commit 05e1e26

Browse files
authored
Merge pull request #800 from CyberMew/patch-1
Update article.md
2 parents de5d580 + 175e159 commit 05e1e26

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ alert(name1); // Julius
128128
alert(name2); // Caesar
129129

130130
*!*
131+
// Note that type of `rest` is Array.
131132
alert(rest[0]); // Consul
132133
alert(rest[1]); // of the Roman Republic
133134
alert(rest.length); // 2

0 commit comments

Comments
 (0)