Skip to content

Instantly share code, notes, and snippets.

@findzen
Created December 7, 2011 22:03
Show Gist options
  • Save findzen/1444907 to your computer and use it in GitHub Desktop.
Save findzen/1444907 to your computer and use it in GitHub Desktop.
Array.max
// returns max value in array
Array.max = function(array) {
return Math.max.apply(Math, array);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment