MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / random

Function random

assets/js/ReactionGame.js:92–95  ·  view source on GitHub ↗
(number)

Source from the content-addressed store, hash-verified

90}
91
92function random(number){
93 let tempVal = Math.floor(Math.random()*number);
94 return tempVal;
95}
96
97function resetGame(){
98 clearTimeout(playArea.timer);

Callers 4

showBoxFunction · 0.70
myBoxFunction · 0.70
colFunction · 0.70
hitFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected