Browse Source

HW<8> done>

Levshin95 1 year ago
parent
commit
71cd7de35e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      HW5/index.js

+ 1 - 1
HW5/index.js

@@ -137,4 +137,4 @@
 /* destruct 3 */
 
         let arr3 = [1, 2, 3, 4, 5, 6, 7, 10];
-        let {'0':a, '1':b, length} = arr3
+        let {0:a, 1:b, length} = arr3