Lesson

Manipulate Arrays With pop, freeCodeCamp Basic Javascript

Lesson Summary

In this challenge we learn how to take the last value of an array and assign it to a new variable using the pop function in javascript. The pop function can be used only to retrieve the last value of an array and asign it to a new variable.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: