1. 2
  1.  

  2. 1

    No, the second statement after the for(;;) isn’t part of the loop body.

    1. 1

      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.