-
Notifications
You must be signed in to change notification settings - Fork 0
Mint.utils.arrayRemoveItem
Tania Shatilova edited this page Nov 10, 2015
·
1 revision
The arrayRemoveItem() method removes first accurance of item from an array. The arrayRemoveItem() method removes item from array that is passed as first parameter.
Mint.utils.arrayRemoveItem(array, itemToRemove);- array - array in which item is searching.
- itemToRemove - (object) item of array that should be removed.
var array = [1, 3, 8];
Mint.utils.arrayRemoveItem(array, 3); // array == [1, 8]