hw07_06.html 200 B

1234567891011
  1. <header>
  2. <h1>destruct array</h1>
  3. </header>
  4. <body>
  5. <script>
  6. let arr = [1, 2, 3, 4, 5, "a", "b", "c"];
  7. [odd1, even1, odd2, even2, odd3, ...letters] = arr;
  8. </script>
  9. </body>