JavaScript中的Math 使用介绍

  

复制代码 代码如下:

  Math.pow(2,53) //=>9007199254740992: 2 的53次幂

  Math.round(.6) //=>1.0: 四舍五入