Skip to content

Instantly share code, notes, and snippets.

@edankwan
Forked from elsassph/poop.js
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edankwan/54f38874934798747a03 to your computer and use it in GitHub Desktop.
Save edankwan/54f38874934798747a03 to your computer and use it in GitHub Desktop.
Array.prototype.poop = function() {
this.pop();
// return nothing, it's poop
}
Array.prototype.shit = function() {
this.shift();
// return nothing, it's shit
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment