src/common.js
function removeAt(items, index) {
  var copy = items.slice();
  copy.splice(index, 1);
  return copy;
}
function removeAt(items, index) {
  var copy = items.slice();
  copy.splice(index, 1);
  return copy;
}
function removeAt ( items , index ) { var copy = items . slice ( ) ; copy . splice ( index , 1 ) ; return copy ; }
Remove element from array at given index.
Doesn't modify source array.
@param {Array} items
@param {Number} index
@return {Array}
Remove element from array at given index . Doesn t modify source array .