Generation

generate functionSat, 12 Nov 2022

return a random numbertbetween the parameters

function randint(a, b) { return Math.floor(Math.random() * (b - a + 1)) + a }

TypeScript
Generate More

Want to kickstart your project?Use the new AI Studio to create your code