摘要: function selectRendom(startNum,endNum){ var choose = endNum - startNum +1; return Math.floor(Math.random()*choose+startNum)};alert(selectRendom(2,3)); 阅读全文
posted @ 2014-04-01 13:40 淡然_ 阅读(224) 评论(0) 推荐(0) 编辑