【www.bbyears.com--网页配色】
<script type="text/javascript教程">
i = 0;
do
{
document.write("The number is " + i);
document.write("
");
i++;
}
while (i <= 5)
</script>
Explanation:
i equal to 0.
The loop will run
i will increase by 1 each time the loop runs.
While i is less than , or equal to, 5, the loop will continue to run.