I\'m attempting the following:
var a1 = [\'a\', \'e\', \'f\']; // [a, e, f] var a2 = [\'b\', \'c\', \'d\']; // [b, c, d] a1.splice(1, 0, a2); // expe
This should do the trick.
var a1 = ['a', 'e', 'f']; var a2 = ['b', 'c', 'd']; a1.concat(a2, a1.splice(1,a1.length-1)) // [a, b, c, d, e, f]