Js技巧指南

2022 年 06 月 13 日

Js
Js基础

js获取随机数整数区间

/* 获取两个数直接的随机数 */
Math.floor(Math.random()*(max-min+1)+min)

交流专区 文明发言

Js技巧指南

2022 年 06 月 13 日

0

Like

0

Download

36

Viewed