RSS

Tag Archives: array

Unset an array item in javascript

Suppose you have an array my_array.

To unset an item of my_array just use the following:

my_array.splice((index),1);

where index is the key of the value of my_array which you want to unset.

Advertisements
 
Leave a comment

Posted by on December 29, 2011 in javascript

 

Tags: ,