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

'shift()' Syntax, Parameters and Note

Note:

Removes the first element in an array. 
Returns the element being removed.
    
Syntax:
    
arrayName.shift()

    

      
      








Related examples in the same category

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