'shift()' Example : shift « Javascript Methods « JavaScript Reference





'shift()' Example

    
<html>
<body>
<button onclick="var myA = new Array(10,11,12); myA.shift(); alert(myA);">SHIFT</button>
</body>
</html>

    
      
      










Related examples in the same category

1.'shift()' Syntax, Parameters and Note
2.'shift()' is applied to