js生成任意2个区间内的随机整数
function random(m,n) { return Math.floor(Math.random() * (n - m)) + m }
示例:
random(28,45); 29