标签:art and 随机 mat rand floor turn 个数 ret
function random(start,end){ var sum=end-start+1 return Math.floor(Math.random()*sum+start) }
任意两个数之间的随机数
原文地址:http://www.cnblogs.com/huangshikun/p/6649277.html