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

'splice()' Example

    
<html>
<body>
<button onclick="var myA = new Array(10,11,12,13,14,15); 
                 alert(myA.splice(1,3));">SPLICE</button>
</body>
</html>

    
      
      








Related examples in the same category

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