1://生成start到end之间的随机数
function random(start,end){ return parseInt(Math.random()*(end-start+1)+start);}