JavaScript array nol dari n panjang
let a = new Array(n); for (let i=0; i<n; ++i) a[i] = 0;
slohobo
let a = new Array(n); for (let i=0; i<n; ++i) a[i] = 0;