JS Wartość bezwzględna
Math.abs(-4)//returns 4
Math.abs(4)//returns 4
If-dev
Math.abs(-4)//returns 4
Math.abs(4)//returns 4
Math.abs(-7.25); // returns 7.25
var number = "4.33";
const output = Math.abs(number);
console.log(output);
//Output: 4.33
//Not:Return the absolute value of number
Math.abs(-4.7);