<script>
let i = 0;
function count() {
// القيام بجزء من المهمّة الثقيلة (*)
do {
i++;
progress.innerHTML = i;
} while (i % 1e3 != 0);
if (i < 1e7) {
setTimeout(count);
}
}
count();
</script>
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.