DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript find smallest number in an array
const arr = [14, 58, 20, 77, 66, 82, 42, 67, 42, 4] const min = Math.min(...arr) console.log(min)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#find
#smallest
#number
#array
ADD COMMENT
Topic
COMMENT
Name
4+2 =
Submit