Queue challenge! Help!

Queue challenge! Help!
0.0 0

#1

Im missing some codes i don’t know what to add! Pls help!


#2

Your line #4 is the problem.

arr.push(arr.length+1);

Why are you pushing arr.length+1 to the arr when the challenge instructions tell you to add the number (item) to the end of the array?


#3

Right @rmdawson71 got the point, you will end up with length of array as members. You should push numbers.