'pop()' Syntax, Parameters and Note : pop « Javascript Methods « JavaScript Reference
- JavaScript Reference
- Javascript Methods
- pop
'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