摘要: Math.round(11.5)的返回值是12,Math.round(-11.5)的返回值是-11。四舍五入的原理是在参数上加0.5 然后进行取整。 数组没有length()方法,而是有length 的属性 ...
確定! 回上一頁