Need help with the challenge "Slice and Splice"

I’m stuck on the challenge “Slice and Splice”. This code works, but for some reason, FCC isn’t registering it as correct.

function frankenSplice(arr1, arr2, n)
  let arrTemp = arr2.slice(0);
  arrTemp.splice(n, 0, arr1);
  return arrTemp;

console.log(frankenSplice([1, 2, 3], [4, 5], 1)); //Prints "4,1,2,3,5" to the console

Open the browser console and you will see why it is not working (spoiler: your array has a subarray)

any way to solve this issue. I seem to also have this problem.

function frankenSplice(arr1, arr2, n) {
  var arr1Dupe = arr1.slice(0);
  var arr2end = arr2.slice(n);

  var sliced = arr2.slice(0,n);
  var nArr = arr1Dupe;


  return nArr;

frankenSplice([1, 2, 3], ['a','b','c','d'], 2);

You are actually getting this:

[["a", "b"], 1, 2, 3, ["b", "c"]]

You can use also this syntax, you just need a little change. Can you figure out what to do to push elemenents and not a subarray? Google can be your friend in this case.