get random integer getrand getrandint get rand int

PHOTO EMBED

Thu Jun 03 2021 22:50:30 GMT+0000 (Coordinated Universal Time)

Saved by @shadow337 #js

function getRandInt(start, end) {
    return Math.floor(Math.random() * (end - start + 1)) + start
}
content_copyCOPY