floorbeginner// Round down to the nearest integer
Math.floor(4.9) // β 4
Math.floor(-4.1) // β -5Use Math.floor() when you need to round a number down to the nearest whole integer.
Rounds a number down to the nearest integer. Math.floor(4.9) returns 4.
Challenge: Use Math.floor() to round 4.9 down.