8 lignes
131 B
TypeScript
8 lignes
131 B
TypeScript
function rand(min: number, max: number) {
|
|
return Math.floor(Math.random() * (max - min + 1)) + min;
|
|
}
|
|
|
|
export default {
|
|
rand,
|
|
};
|