MCPcopy Create free account
hub / github.com/codemistic/Web-Development / randomNumberBetween

Function randomNumberBetween

JS - Chrome Dino Game Clone/cactus.js:51–53  ·  view source on GitHub ↗
(min, max)

Source from the content-addressed store, hash-verified

49}
50
51function randomNumberBetween(min, max) {
52 return Math.floor(Math.random() * (max - min + 1) + min)
53}

Callers 1

updateCactusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected