Here you can find the source of minusIndex(idx)
Array.prototype.minusIndex = function(idx) { if(idx < 0 || idx >= this.length) return this; return this.slice(0, idx).concat(this.slice(idx + 1)); }
Array.prototype.minus = function (list) { var result = []; for (var i = 0; i < this.length; i++) { if (list.indexOf(this[i]) < 0) result.push(this[i]); return result; };
Array.prototype.minus = function(other) { if (typeof(other) == "undefined") { return this; return this.where(function(e) { return !other.contains(e); }); };
Array.prototype.minus = function(other, test) { return this.filter(function(el){ return !other.contains(el, test); }); };
Array.prototype.minus = function(secondarr){ var result = this; for (var i = result.length - 1; i >= 0; i--) { for (var j = secondarr.length - 1; j >= 0; j--) { if (secondarr[j].match(result[i])){ result = result.without(i); break; }; }; ...
Array.prototype.minusAsString = function (list) { var result = []; for (var i = 0; i < this.length; i++) { var notIn = true; for (var j = 0; j < list.length; j++) { if (list[j].toString() == this[i].toString()) { notIn = false; break; if (notIn) result.push(this[i]); return result; };