JavaScript Array Methods
push()
The push() method appends a new element to an array.
Try it