title: How do I turn my "for" loop into a "for of" loop?
body: <p>In javascript I'm trying to turn a for loop into a for/of loop, I've tried searching online for how to do for/of loops but I can't quite understand it.</p>
  
  <p>I'm just wondering how I'd turn the for loop into a for/of loop</p>
  
  <pre><code>for (let i = 0; i &lt; studentCount; i++)
  </code></pre>
  
  <p>This is what studentCount is</p>
  
  <pre><code>studentCount = gradeXML.getElementsByTagName("student").length;
  </code></pre>