+ 1
MATH.abs
What does this statement actually do? MATH.abs(Math.min(-9,2)?
2 ответов
+ 16
absolute value means distance from the origin & distance can't be in negative ,
so u can say its just return mod value
+ 9
Math.min (argument1, argument2) returns the smallest of the two arguments (i.e. -9).
Math.abs (argument) returns the absolute value of the argument, ignoring the sign (+ or -) on it.
That's why it results in 9.