<header> <h1>destruct 3</h1> </header> <body> <script> let arr = [1, 2, 3, 4, 5, 6, 7, 10]; let { 0: a, 1: b, length } = arr; </script> </body>