There doesn\'t seem to be a way to extend an existing JavaScript array with another array, i.e. to emulate Python\'s extend method.
extend
I want to achieve th
If you want to use jQuery, there is $.merge()
Example:
a = [1, 2]; b = [3, 4, 5]; $.merge(a,b);
Result: a = [1, 2, 3, 4, 5]
[1, 2, 3, 4, 5]