From 7e71d1fcda9860896c37903b870ec3c17f3abf10 Mon Sep 17 00:00:00 2001 From: CyberMew Date: Wed, 13 Feb 2019 10:18:36 +0800 Subject: [PATCH] Update article.md --- 1-js/05-data-types/09-destructuring-assignment/article.md | 1 + 1 file changed, 1 insertion(+) 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 7a48c89d..13771f78 100644 --- a/1-js/05-data-types/09-destructuring-assignment/article.md +++ b/1-js/05-data-types/09-destructuring-assignment/article.md @@ -146,6 +146,7 @@ let [firstName, surname] = []; */!* alert(firstName); // undefined +alert(surname); // undefined ``` If we want a "default" value to replace the missing one, we can provide it using `=`: