.shift()
Term side of the Card
Topic: Array
Unit title: .shift()
Categories: Method
Explanation side of the Card
Explanation: The method that removes the first element from an array and returns it. This shifts the positions of all other elements one place to the left.
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: