javascript函数parseInt(Math.randow()*7)返回什么?首先更正下是parseInt(Math.random()*7)返回0至6之间的任意一个整数。其中Math.random()返回一个[0..1]的随机种子。parseInt为取整强制去除小数位与Math.floor()函数等价。所以也可以写成2023-03-04JavaScript60