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

Function checkNewRecord

assets/js/mario.js:67–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65}
66
67function checkNewRecord () {
68 if (currentPoint > highestScorePoint) {
69 localStorage.setItem('mario-highest-score', currentPoint);
70 }
71}

Callers 1

mario.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected