0

who helps me?

how to understand? Math.abs (Math.min (-6, 3)) // 6 ???

25th Sep 2019, 12:28 PM
Gheorghe Ciolac
Gheorghe Ciolac - avatar
2 ответов
+ 1
Math.min() return smaller argument (-6). Then Math.abs() return the absolute value of argument (abs of -6 is 6)
25th Sep 2019, 12:43 PM
Thống Nguyễn
Thống Nguyễn - avatar
+ 1
Thanks
25th Sep 2019, 12:54 PM
Gheorghe Ciolac
Gheorghe Ciolac - avatar