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