生成一个x-y之间的随机数 Math. round (Math.random( )*(y-x)+X)

 

你可能感兴趣的:(Web)