From 911f7833bbab69330623dfe31d6870172ac9ea2c Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Tue, 2 Apr 2019 14:53:21 +0300 Subject: [PATCH] minor --- 1-js/05-data-types/09-destructuring-assignment/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/05-data-types/09-destructuring-assignment/article.md b/1-js/05-data-types/09-destructuring-assignment/article.md index 54443253..7c60b274 100644 --- a/1-js/05-data-types/09-destructuring-assignment/article.md +++ b/1-js/05-data-types/09-destructuring-assignment/article.md @@ -47,14 +47,14 @@ Unwanted elements of the array can also be thrown away via an extra comma: ```js run *!* -// second and forth elements are not needed +// second element is not needed let [firstName, , title] = ["Julius", "Caesar", "Consul", "of the Roman Republic"]; */!* alert( title ); // Consul ``` -In the code above, although thesecond elements of the array is skipped, the third one is assigned to `title`, and the rest are also skipped. +In the code above, the second element of the array is skipped, the third one is assigned to `title`, and the rest of the array is also skipped. ```` ````smart header="Works with any iterable on the right-side"