Skip to content

Instantly share code, notes, and snippets.

@bmorelli25
Created December 18, 2017 18:51
Show Gist options
  • Save bmorelli25/8962fe48abf712d0e3c4cfa3a819c170 to your computer and use it in GitHub Desktop.
Save bmorelli25/8962fe48abf712d0e3c4cfa3a819c170 to your computer and use it in GitHub Desktop.
Array Minimum
const arrMin = arr => Math.min(...arr);
// arrMin([20, 10, 5, 10]) -> 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment