JavaScript随机数 function random(start,end){ var total=start+end; return Manth.floor(Manth.random()+total-start); }