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

Function run

assets/js/car.js:6–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4 y = setInterval(run, 10);
5
6 function run() {
7 if (m == 1570) {
8 clearInterval(y);
9 m = 0;
10 }
11 else {
12 m += 5;
13 var x = document.getElementById("img");
14 x.style.marginLeft = m + 'px';
15 }
16
17 }
18}
19
20

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected