Returns the absolute value of a number.
abs(value)
value
Any number type.
The absolute value of the number.
For complex numbers, the result is calculated using Complex.prototype.abs.
abs(-10)
10
abs((-2)**88)
309485009821345068724781056
abs(-3+4*I)
5