DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Find the maximum number of an array js
Math
.
max
(
10
,
20
)
;
// 20
Math
.
max
(
-
10
,
-
20
)
;
// -10
Math
.
max
(
-
10
,
20
)
;
// 20
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#Find
#maximum
#number
#array
#js
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit