Javascript Array removeByKey(index)

Description

Javascript Array removeByKey(index)


Array.prototype.removeByKey = function(index) {
  var numToRemove = 1;
  return this.splice(index, numToRemove);
};



PreviousNext

Related