()
| 1 | const animation = document.querySelector('.animated-area'); |
| 2 | |
| 3 | function bullets(){ |
| 4 | const meteor = document.createElement('span'); |
| 5 | meteor.style.left = Math.random() * innerWidth + 'px'; |
| 6 | animation.append(meteor); |
| 7 | |
| 8 | setTimeout(()=>{ |
| 9 | meteor.remove(); |
| 10 | },2000); |
| 11 | } |
| 12 | |
| 13 | setInterval(bullets,100); |
| 14 |
nothing calls this directly
no outgoing calls
no test coverage detected