DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript math min array
const nums = [1, 2, 3]Math.min(...nums) // 1Math.max(...nums) // 3
Source by medium.com #
PREVIOUS
NEXT
Tagged:
#javascript
#math
#min
#array
ADD COMMENT
Topic
COMMENT
Name
3+2 =
Submit