()
| 1 | function createCircle() { |
| 2 | const circleEl = document.createElement("div"); |
| 3 | circleEl.classList.add("heart"); |
| 4 | circleEl.style.top = Math.random() * window.innerHeight + "px"; |
| 5 | circleEl.style.left = Math.random() * window.innerWidth + "px"; |
| 6 | |
| 7 | document.body.appendChild(circleEl); |
| 8 | |
| 9 | setTimeout(() => { |
| 10 | circleEl.remove(); |
| 11 | }, 3000); |
| 12 | } |
| 13 | |
| 14 | setInterval(createCircle, 150); |
| 15 |
nothing calls this directly
no outgoing calls
no test coverage detected