1 var indexOf = require('./indexOf');
4 * Remove a single item from the array.
5 * (it won't remove duplicates, just a single item)
7 function remove(arr, item){
8 var idx = indexOf(arr, item);
9 if (idx !== -1) arr.splice(idx, 1);
12 module.exports = remove;