JavaScript Array Methods
push()
The push() method returns the new array length.
Try it