We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09bc924 commit 7e71d1fCopy full SHA for 7e71d1f
1-js/05-data-types/09-destructuring-assignment/article.md
@@ -146,6 +146,7 @@ let [firstName, surname] = [];
146
*/!*
147
148
alert(firstName); // undefined
149
+alert(surname); // undefined
150
```
151
152
If we want a "default" value to replace the missing one, we can provide it using `=`:
0 commit comments