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