JS

JavaScript Fundamentals 3 - Javascript math functi...

26.

What is the purpose of the JavaScript Math.round() function?

To round a number to the nearest integer.

To round a number up to the nearest integer.

To round a number down to the nearest integer.

To calculate the absolute value of a number.