DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
maximum number of an array
var arr = [1, 2, 3]; var max = Math.max(...arr);
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#maximum
#number
#array
ADD COMMENT
Topic
COMMENT
Name
3+4 =
Submit