FIT100
Doubly Nested Loop
A loop within a loop repeats repetitions
<html><head><title>Test Page</title></head> <body>
    <script language="JavaScript">
var i, j;
for (j=0; j<3; j++) {
  for (i=0; i<5; i++) {
     document.write('[ ' + j + ',' + i + ' ]');
  }
}
    </script></body>
</html>
The new code is shown in white