type or paste code here let newArr = ; newArr = arr2.slice(0); newArr = newArr.splice(n,0,...arr1); //newArr = newArr.splice(n,0,4); //when I do this for test ..it still not working . what is the problem with my splice() ? return newArr;
what is going on with my splice() ? I can not understand . please help me out.