Source from wi2l.de/sof.html
var x = -1;
var a = new Array(9);
var i = new Array(2);
x = x + 1;
a[x] = ["a", "b"];
x = x + 1;
a[x] = ["c", "d"];
i[0] = "e";
i[1] = "f";
x = x + 1;
a[x] = i;
i[0] = "g";
i[1] = "h";
x = x + 1;
a[x] = i;
console.log(a[1] + " " + a[2] + " " + a[3]);
result is c,d g,h g,h but should be c,d e,f g,h.
a[x] = [...i]