Append an array to another array

by Mohan 2012-09-20 22:33:43


Append an array to another array
var a = [4,5,6];
var b = [7,8,9];
Array.prototype.push.apply(a, b);

uneval(a); // is: [4, 5, 6, 7, 8, 9





814
like
0
dislike
0
mail
flag

You must LOGIN to add comments