lib/helper.js
function remove(item, list) {
  var i = list.indexOf(item);
  if (~i) list.splice(i, 1);
}
function remove(item, list) {
  var i = list.indexOf(item);
  if (~i) list.splice(i, 1);
}
function remove ( item , list ) { var i = list . indexOf ( item ) ; if ( ~ i ) list . splice ( i , 1 ) ; }
Removes an item
from a list.

@param  {*} item
@param  {Array} list
Removes an item from a list .