From 1e44a05fd17b325e33b2c0de962f3c3ace3a444b Mon Sep 17 00:00:00 2001 From: Ming Hei Lau Date: Thu, 6 Jul 2017 16:44:47 -0700 Subject: [PATCH] typo --- 1-js/05-data-types/09-destructuring-assignment/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 701deb06..1eb37ebe 100644 --- a/1-js/05-data-types/09-destructuring-assignment/article.md +++ b/1-js/05-data-types/09-destructuring-assignment/article.md @@ -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.