Understanding the test

Tell us what’s happening:
Previous code(commented one) is failing test named All elements from the first array should be added to the second array in their original order. I’m unable to understand the meaning of this test.
Somebody please explain me…

Your code so far

 function frankenSplice(arr1, arr2, n) {
   let arr3 = [];
   for(let i=0; i<arr2.length; i++){
     if(i==n) arr3.push(...arr1);
   return arr3;

 frankenSplice([1, 2], ["a", "b"], 1);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36.

Challenge: Slice and Splice

Link to the challenge:

your code passes for me

make sure your browser is updated to last version and try again

Please try once again… Earlier I’ve included both working code and one not-working…
I’ve edited the post now…

in the test you are not passing, these are the values of the input and your output:

   arr1: [ 1, 2, 3, 4 ],
   arr2: [],
   n: 0,
   arr3: []

your loop goes with i<arr2.length; which in this case is always false, so the loop doesn’t execute