Created
June 17, 2017 02:21
-
-
Save Daniel-Hug/15ef21feaf404afe9838b8ccbcfeb66e to your computer and use it in GitHub Desktop.
JS function: get min (smallest) value from array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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