If no arguments are given, the result is Infinity.
If at least one of arguments cannot be converted to a number, the result is NaN.
Syntax
   Math.min([value1,value2,...]);
   Math.min(20,50,36,2);  //2
   Math.min(-3,3,0,99);  //-3Example Program:- (Editor)
Editor is Loading...
Advertisement

 

0 nhận xét:
Đăng nhận xét