This commit is contained in:
2024-09-29 21:04:06 +08:00
parent 3a8a4aada3
commit c53528079b
6 changed files with 82 additions and 11 deletions

View File

@@ -1,3 +1,12 @@
/*
* @Author: ddmt
* @Date: 2024-9-29 20:50:12
* @LastEditTime: 2024-9-29 20:50:12
* @LastEditors: ddmt
* @Description: ddmt-index file
* @FilePath: /Tool/number.js
*/
//生成从minNum到maxNum的随机数
export function randomNum (minNum, maxNum) {
switch (arguments.length) {