()
| 1 | m = 0; |
| 2 | var y; |
| 3 | function start() { |
| 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 | |
| 21 | function stop() { |
nothing calls this directly
no outgoing calls
no test coverage detected