src code

instance method Number#abs

Number#abs() → Number

Returns the absolute value of the number. Convenience method that simply calls Math.abs on this instance and returns the result.