20
rated 0 times
[
26]
[
6]
/ answers: 1 / hits: 89354
/ 14 Years ago, sun, january 30, 2011, 12:00:00
Is there a built in way to append one list into another like so:
var a = [1,2,3];
a.append([4,5]);
// now a is [1,2,3,4,5];
concat()
does something similar but returns the result. I want something that modifies the existing list like push()
More From » javascript