'pop()' Syntax, Parameters and Note : pop « Javascript Methods « JavaScript Reference

'pop()' Syntax, Parameters and Note

Note:

Removes the last element in an array. 
Returns the last element of the array.
    
Syntax:
    
arrayName.pop()

    

      
      








Related examples in the same category

1.'pop()' Example
2.'pop()' is applied to