JavaScript js数学对象2018-1-5阅读(764)评论(0) //取绝对值 Math.abs() 整数返回本身,负数返回相反数 0还是0 document.write(Math.abs(-5)+'<br /> '); &...