What is the purpose of the Math.round() function in JavaScript?
Math.round()
Rounds a number up to the nearest integer.
Rounds a number down to the nearest integer.
Returns the absolute value of a number.
Rounds a number to the nearest integer.