hw06_14.html 236 B

1234567891011
  1. <header>
  2. <h1>Destruct</h1>
  3. </header>
  4. <body>
  5. <script>
  6. const str = prompt("Enter string_lenth min 9");
  7. let [a1, a2, a3, a4, a5, a6, a7, a8, a9] = str;
  8. alert(a1 + " " + a5 + " " + a9);
  9. </script>
  10. </body>