Not only can you pop() data off of the end of an array, you can also push() data onto the end of an array.
pop()
push()
myArray.push(["dog", 3]);
There was an error while loading. Please reload this page.
New to Free Code Camp?
JS Concepts
JS Language Reference
Other Links