里面的都是静态方法,使用可以直接使用Math.方法()
Math.方法()
属性:
PI
方法:
random()
[0,1)
ceil(x)
floor(x)
trunc(f)
round(x)
abs(x)
pow(x,n)
← 标准内置对象—Number—G 标准内置对象—Date →