Math.abs( x ) in ECMAScript 262

Return the absolute value of x.

Arguments

nametypedescription
x Number The value to operate upon.
Return Type
Number