Lesson

Stand in Line, freeCodeCamp Basic Javascript

Lesson Summary

In this challenge we are asked to add a number to an end of an array as well as remove the first element of that array. Then we are asked to return the removed element. In javascript we can utilize 2 methods we learned about to accomplish this, and that is the .push and .shift method.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: