Array Methods You Must Know
Instance Methods
The push() method of Array instances adds the specified elements to the end of an array and returns the new length of the array.
Syntax:
push()
push(element1)
push(element1, element2
harshit-javascript.hashnode.dev14 min read