Arrays: Splice

Arrays: Splice

item_to_remove = MyArray.indexOf('Bananas');MyArray.splice(item_to_remove,1);
Comments are closed.