Skip to content

Commit 175e159

Browse files
authored
Update article.md
1 parent 09bc924 commit 175e159

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)