Skip to navigation
Get the min or max value from a javascript array
18.12.15
var sizes = ['500','1000','200','30']; console.log(Math.max.apply(null,sizes)); console.log(Math.min.apply(null,sizes));
http://learnjavascript.co.uk/reference/globals/math/max.html
Reply
Anonymous
Information Epoch 1732593132
Data dominates.
Home
Notebook
Contact us