点击运行
JavaScript Math.floor()
Math.floor(x) 返回 x 被下舍入为最接近整数的值:
运行结果