Skip to content

Instantly share code, notes, and snippets.

@droid001
Created January 25, 2018 13:30
Show Gist options
  • Save droid001/e0ffafc8caddfb398621973053373f9c to your computer and use it in GitHub Desktop.
Save droid001/e0ffafc8caddfb398621973053373f9c to your computer and use it in GitHub Desktop.
Largest number in array
var max = Math.max.apply(null, numbers);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment