Skip to content

Instantly share code, notes, and snippets.

@TastyToast
Created December 1, 2014 19:42
Show Gist options
  • Save TastyToast/3eaedbaa2df6b0117a50 to your computer and use it in GitHub Desktop.
Save TastyToast/3eaedbaa2df6b0117a50 to your computer and use it in GitHub Desktop.
Array.prototype.max = function() {
return Math.max.apply(Math, this);
}
Array.prototype.min = function() {
return Math.min.apply(Math, this);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment