1 <script> 2 var count = 1; 3 function run() { 4 var div = document.createElement("div"); 5 div.textContent = "Testing " + (count++); 6 document.body.appendChild(div); 7 } 8 9 setInterval(run, 1000); 10 </script> 11