Answers for "javascript random number betwween"

1

javascript random number between

//returns a random number between min and max

const randomNumbers = (min, max) => {
	return Math.round(Math.random() * (max - min)) + min;
}
Posted by: Guest on July-09-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language