.push()

Term side of the Card
Topic: Array
Unit title: .push()
Categories: Method
Explanation side of the Card

Explanation: The method that adds one or more elements to the end of an array. It returns the new length of the array after the elements have been added.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: