math javascript absolute code example Example: javascript math absolute Math.abs(-7.25); // returns 7.25