Created
December 16, 2019 06:13
-
-
Save hddananjaya/48b8ec8bcd0dbf5400c3a56bf09ac7b5 to your computer and use it in GitHub Desktop.
Get max value in an array in JS
This file contains hidden or 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
return (Math.max.apply(null, arr)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment