On Software Engineering
Pages
Database Design
.NET
Regular Expressions
Queue-based System Architecture
Thursday, February 14, 2013
JavaScript Loops
var i = 1;
while (i <= 10)
{
if (i == 7)
break; // break out of the loop
if (i % 2)
{
i++;
continue;
}
i++;
}
// iterate at least once
do {
i--;
}
while(i >10);
for (var i=0; i<=10; i++)
{
}
Newer Post
Older Post
Home