Queue challenge! Help!

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

Your line #4 is the problem.


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?

1 Like

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