A problem when building .drop()

Hi I am doing the Lodash library but encounter a problem when building the .drop() function. My code looks like this and I have watched the walkthrough video but cannot find my error. can someone help me? The test result said that it did not create an array.
Thank you
drop(array,n) { if(n === undefined){ return n = 1; } let droppedArray = array.slice(n, array.length); return droppedArray; }

Are you missunderstanding how to implement it? If n is undefined you need to remove only one element from the array, not return the number ‘1’

hi Thank you :> I have fixed it :>