Sha256: be81ab3e96cd0c8736dc208cacab91b418bc6af4f94ffad1da70035f8001fb6b

Contents?: true

Size: 246 Bytes

Versions: 33

Compression:

Stored size: 246 Bytes

Contents

// Array Remove - By John Resig (MIT Licensed)
Array.prototype.remove = function(from, to) {
  var rest = this.slice((to || from) + 1 || this.length);
  this.length = from < 0 ? this.length + from : from;
  return this.push.apply(this, rest);
};

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
quby-5.6.5 app/assets/javascripts/quby/answers/array_remove.js
quby-5.6.3 app/assets/javascripts/quby/answers/array_remove.js
quby-5.6.2 app/assets/javascripts/quby/answers/array_remove.js
quby-5.6.1 app/assets/javascripts/quby/answers/array_remove.js
quby-5.6.0 app/assets/javascripts/quby/answers/array_remove.js
quby-5.5.0 app/assets/javascripts/quby/answers/array_remove.js
quby-5.4.0 app/assets/javascripts/quby/answers/array_remove.js
quby-5.3.1 app/assets/javascripts/quby/answers/array_remove.js
quby-5.3.0 app/assets/javascripts/quby/answers/array_remove.js
quby-5.2.0 app/assets/javascripts/quby/answers/array_remove.js
quby-5.1.3 app/assets/javascripts/quby/answers/array_remove.js
quby-5.1.2 app/assets/javascripts/quby/answers/array_remove.js
quby-5.1.1 app/assets/javascripts/quby/answers/array_remove.js
quby-5.1.0 app/assets/javascripts/quby/answers/array_remove.js
quby-5.0.5 app/assets/javascripts/quby/answers/array_remove.js
quby-5.0.4 app/assets/javascripts/quby/answers/array_remove.js
quby-5.0.3 app/assets/javascripts/quby/answers/array_remove.js
quby-5.0.2 app/assets/javascripts/quby/answers/array_remove.js
quby-5.0.1 app/assets/javascripts/quby/answers/array_remove.js
quby-5.0.0 app/assets/javascripts/quby/answers/array_remove.js