// Math对象 数学
var x = Math.PI; // π
x = Math.sqrt(16); // 平方根
x = Math.abs(-11); // 绝对值
x = Math.ceil(1.1); // 2 向上取整
x = Math.floor(1.5); // 1 下取整
x = Math.round(1.5); // 四舍五入
x = Math.max(1,2,3); // 最大值
x = Math.min(1,2,3); // 最小值
x = Math.random(); // 随机数
console.log(x);