Skip to content

Instantly share code, notes, and snippets.

@Daniel-Hug
Created June 17, 2017 02:21
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 Daniel-Hug/15ef21feaf404afe9838b8ccbcfeb66e to your computer and use it in GitHub Desktop.
Save Daniel-Hug/15ef21feaf404afe9838b8ccbcfeb66e to your computer and use it in GitHub Desktop.
JS function: get min (smallest) value from array
function arrayMin(array) {
return Math.min.apply(null, array);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment