title: for in and for of loops
body: <p>2 quick questions</p>
  
  <ol>
  <li>How do I access the index position in an array using for...of? </li>
  <li>How do I access the value in an array using for...in?</li>
  </ol>
  
  <p>Pseudo code</p>
  
  <pre><code>var arr = [3, 5, 7];
  var pos, value;
  
  for (pos in arr) {
     console.log(pos); // logs "0", "1", "2"
  }
  
  for (value of arr) {
     console.log(value); // logs "3", "5", "7"
  }
  </code></pre>