Search
 
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
Name
6+8 =