Merge pull request #80 from alaumh/master

typo
This commit is contained in:
Ilya Kantor 2017-07-08 12:35:47 +03:00 committed by GitHub
commit 9c3ebf4723

View file

@ -53,7 +53,7 @@ Unwanted elements of the array can also be thrown away via an extra comma:
let [, , title] = ["Julius", "Caesar", "Consul", "of the Roman Republic"];
*/!*
alert( title ); // Imperator
alert( title ); // Consul
```
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.