0
Random Integer
One script reply has been approved by the moderators Verified
Created by rubencarolenounou 912 days ago Viewed 9357 times
1
Submitted by jaller94 Deno
Verified 847 days ago
1
export async function main(min = 0, max = 100) {
2
  return Math.floor(Math.random() * (max - min + 1)) + min;
3
}
4