math.absolute javascript code example
Example 1: javascript absolute value
Math.abs(-2) // 2
Math.abs(2) // 2
Example 2: javascript abs
//Return the absolute value of number
Math.abs(number);
Example 3: javascript math absolute
Math.abs(-7.25); // returns 7.25