xuchang-new/websocket/utils/index.ts
2023-11-09 13:36:21 +08:00

8 lignes
131 B
TypeScript

function rand(min: number, max: number) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
export default {
rand,
};