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

Function c

assets/js/carAvoidanceGame.js:106–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104}
105function randomColor(){
106 function c(){
107 let hex=Math.floor(Math.random()*256).toString(16);
108 return ("0"+String(hex)).substr(-2);
109 }
110 return "#"+c()+c()+c();
111}

Callers 1

randomColorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected