JavaScript随机数

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

 

posted @ 2015-08-16 17:16  yansirfuture  阅读(123)  评论(0编辑  收藏  举报