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