.abs()
Description
Abs returns the positive version of its input value, if the input is negative, it becomes positive, if its positive it stays the same
Parameters
Abs takes no parameters
Usage On Numbers
num = -10
log num.abs()
// 10Last updated
Was this helpful?