子钦加油

扩大
缩小

2019年3月29日

Math.floor(Math.random()*3+1)

摘要: Math.random():获取0~1随机数Math.floor() method rounds a number DOWNWARDS to the nearest integer, and returns the result. (小于等于 x,且与 x 最接近的整数。)其实返回值就是该数的整数位 阅读全文

posted @ 2019-03-29 13:43 子钦加油 阅读(2193) 评论(0) 推荐(0) 编辑

导航

返回顶部