12345678910111213 |
- <header>
- <h1>Item change</h1>
- </header>
- <body>
- <script>
- const arr = [prompt("Enter element"), prompt("Enter element"), prompt("Enter element"), prompt("Enter element"), ,];
- let a = +prompt("Enter index value");
- arr[a] = a;
- alert(arr).toUpperkeys;
- </script>
- </body>
|