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
private moveElements(source: Array<any>, target: Array<any>) { target.push(...source); source.splice(0, source.length); //or [].push.apply(target,source); source.splice(0, source.length); }