abs function in javascipt code example Example: javascript abs //Return the absolute value of number Math.abs(number);