No, the second statement after the for(;;) isn’t part of the loop body.
for(;;)
If I am understanding you correctly he is calling p.innerHTML = P; too many times, once for each loop instead of once after the loop. This likely result in a similar output being seen from a quick read of the code.
p.innerHTML = P;
No, the second statement after the
for(;;)isn’t part of the loop body.If I am understanding you correctly he is calling
p.innerHTML = P;too many times, once for each loop instead of once after the loop. This likely result in a similar output being seen from a quick read of the code.