first commit

This commit is contained in:
2025-09-12 17:23:03 +08:00
parent a36ae8503a
commit 78f7c3b999
197 changed files with 34011 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
function random(min, max) {
if (min >= 0 && max > 0 && max >= min) {
let gab = max - min + 1;
return Math.floor(Math.random() * gab + min);
} else {
return 0;
}
}
export default random;