【简单JS】生成一个 (min,max) 区间的随机数

如下

return  Math.random()*(max - min + 1) + min

posted on 2023-11-02 11:31  贲风  阅读(6)  评论(0编辑  收藏  举报