js 获取某一范围的任意值 function random(min, max) { return min + Math.floor(Math.random() * (max - min + 1)); }