You don’t want to create your own array here.
You should use the arr parameter they already gave you instead.
you don’t want to hardcode 6 here.
You want to use the parameter they gave you instead.
You don’t want to assign the result of this push to item and overwrite that value.
Also the push method returns the new length of the array
I would suggest reseting the lesson.
Your answer only needs to be 2 lines of code.
Good new is that you have already identified that you need to use the push and shift methods to solve this.
But you need to remove all of the other extra stuff you created that I just mentioned that is causing you to fail the test.