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