min ( object compare1 , object compare2 , object ... ) : mixed
Retuns the minimum value comparing some variables.
Example
console( min(5,12) ) //->5
list = [4,13]
console( min(list) ) //->4, you can use an array
Parameters
compare1
This parameter can be an array (but it must be the only parameter)