Last updated 3 years ago
Was this helpful?
โฉ โฉ โฉ
// โญ๏ธ syntax: // randomInt(min, max) // โญ๏ธ examples: // randomInt(0, 255) // choose from 0 ... 255 (included) export function randomInt(min, max) { return Math.floor(Math.random()*(max-min+1)) + min; }
array.