47
47
* Removes first or all occurrences of an item to the ArrayList. If a
52
52
* @param needle { mixed } Item to find and remove from the list
53
53
* @param all { Boolean } If true, remove all occurrences
55
55
* @return {ArrayList} the instance
61
61
for (var i = this._items.length - 1; i >= 0; --i) {
63
63
this._items.splice( i, 1 );