27.
What is the result of the Math.abs() function in JavaScript?
It returns the square root of a number.
It returns the absolute value of a number.
It returns the largest integer less than or equal to a given number.
It returns a random number between 0 and 1.
Correct: B
The Math.abs() function is used to return the absolute value of a number. The absolute value of a number is its distance from zero on the number line, regardless of its negative or positive sign. For example, Math.abs(-5) would return 5.