Skip to content

Commit 9c3ebf4

Browse files
authored
Merge pull request #80 from alaumh/master
typo
2 parents edfb824 + 1e44a05 commit 9c3ebf4

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Unwanted elements of the array can also be thrown away via an extra comma:
5353
let [, , title] = ["Julius", "Caesar", "Consul", "of the Roman Republic"];
5454
*/!*
5555
56-
alert( title ); // Imperator
56+
alert( title ); // Consul
5757
```
5858
5959
In the code above, the first and second elements of the array are skipped, the third one is assigned to `title`, and the rest is also skipped.

0 commit comments

Comments
 (0)