Appends new elements to the end of an array, and returns the new length of the array.
push(...items)
The new length of the array.
items variadic
New element(s) to add to the array.
var drinks = ["coffee", "tea"]
drinks.push("water")
drinks
["coffee", "tea", "water"]