xuchang-screen/websocket/utils/index.ts

8 lines
131 B
TypeScript
Raw Permalink Normal View History

2023-11-06 17:00:35 +08:00
function rand(min: number, max: number) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
export default {
rand,
};