We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb64b30 commit 902ce52Copy full SHA for 902ce52
1 file changed
1-js/05-data-types/10-destructuring-assignment/article.md
@@ -21,8 +21,8 @@ let arr = ["John", "Smith"]
21
22
*!*
23
// 解构赋值
24
-// sets firstName = arr[0]
25
-// and surname = arr[1]
+// 设置 firstName = arr[0]
+// 以及 surname = arr[1]
26
let [firstName, surname] = arr;
27
*/!*
28
0 commit comments