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

Function factnew

assets/js/maths_facts.js:122–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120
121console.log(fact);
122function factnew() {
123 var number = Math.floor(Math.random() * 78);
124 let fact = facts[number];
125 box.innerHTML = ` <h2>${fact}</h2>`;
126}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected