Using Array.prototype.concat(), when I write this code:
var g = [1, 11, 111];
var ga = [12, 122, 1222];
var gb = [13, 133, 1333];
var gc = g.concat(ga, [123, gb]);
console.log(gc);
It gives me the following result: [1, 11, 111, 12, 122, 1222, 123, Array(3)]
Why is Array(3) added to the resulting array?