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