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));