Looping in JavaScript
Here's the script that will be executed:
<script>
for (i=0; i<20; i++){
document.write
(”Count= " +i+ ”.<br>”);
}
</script>
And here's what happens when it's executed: