FIT100
Iterations Control Actions
Iterations can replicate other things...
<html><head><title>Test
Page</title></head> <body>
<script language="JavaScript">
var i, text="It’s funny!";
for (i=1; i<=3; i=i+1) {
text = text + "
Ha!";
}
alert(text);
</script></body>
</html>
It is possible to make it a lot funnier by changing the limit variable
to, say, i<=1000