Deklarieren Sie 2 d Vektor JS
let 2Darray = new Array(x).fill(null).map(item =>(new Array(y).fill(null)))
Uptight Unicorn
let 2Darray = new Array(x).fill(null).map(item =>(new Array(y).fill(null)))
let 2Darray = new Array(x).fill(null).map(item =>(new Array(y).fill(null)))