+ 22
Why answer is "6" if said "Math.min(-6;3)"?
Please, help me, guys
6 Respostas
+ 18
سلام
+ 16
Thanks
+ 6
Alina if it is like this Math.min(-6, 3) then answer will be -6
But if it is like this Math.abs(Math.min(-6, 3)) then answer will be 6
check in this code
https://code.sololearn.com/cf31lW5wyiqm/?ref=app
+ 4
Math.min should be typed like this
Math.min(-6,3);
No semicolon in the parentheses
Can you post the code this is used in? I got -6
+ 2
الو دوست