JSFiddle - React, Tailwind, and code Playground
by Patel1327
HTML
<button onclick="arraystart()">
start
</button>
JavaScript
function arrayStart(){
var x=[];
x[0] = 1;
x[1] = 123;
x[2] = 123;
x[3] = 155;
x[7] = 121
document.getElementById("display").innerHTML = x;
}