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

'pop()' Example

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

    
      
      








Related examples in the same category

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