1 2 3 4 5 6 7 8 9 10
var x = Array(4); x[0] = 1; x[1] = 2; x[2] = 3; var y = x.concat(); assertEq(y[3], undefined); var z = x.concat(/abc/).pop(); assertEq(z.source, "abc");