Menu
for (var jsNot=0;jsNot<10;jsNot++)
{
document.write(“JavaScript is not Java!<br>”);
for (jsNot2=1;jsNot2<2;jsNot2++)
{
document.write(“Are you getting this?<br>”);
}
}
why does the jsNot2 variable in the nested loop automatically get reset to 1 ?
would appreciate it if somebody would be able to explain this to me,