The Test of this challenge is weak:Basic Algorithm Scripting: Slice and Splice

The Test of this challenge is weak:Basic Algorithm Scripting: Slice and Splice
0

the challenge require for not changing the input array, so that it will remain the same after function run. But i changed the input array and i passed this challenge:

function frankenSplice(arr1, arr2, n) {
      // It's alive. It's alive!
 // n;
  arr2.splice(n,0,...arr1); 
  //console.log(arr2);
  return arr2;
}
frankenSplice([1, 2, 3], [4, 5, 6], 1)
//console.log(frankenSplice([1, 2, 3], [4, 5, 6], 1));

Basic Algorithm Scripting: Slice and Splice:https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-algorithm-scripting/slice-and-splice