Learn Javascript 2017, Arrays, Push Method, Codecademy

Lesson Summary

In this javascript lesson we learn about the push method. The push method can be used on an array to add items to the end of it. If you have a list of items and you want to add to the end of it, the javascript push method can add items to the end of an array by simply calling the array variable and adding the .push() method with the values you want to add inside the parenthesis.