lib/utils.js
function removeFromList (array, obj) {
  for (var i = 0; i < array.length; i++) {
    if (array[i] === obj) {
      array.splice(i, 1);
    }
    return;
  }
}
function removeFromList (array, obj) {
  for (var i = 0; i < array.length; i++) {
    if (array[i] === obj) {
      array.splice(i, 1);
    }
    return;
  }
}
function removeFromList ( array , obj ) { for ( var i = 0 ; i < array . length ; i ++ ) { if ( array [ i ] === obj ) { array . splice ( i , 1 ) ; } return ; } }
Remove `obj` from `array`.

@param {Array} array
@param {Mixed} object
Remove obj from array .