title: setTimeout() in a for loop
body: <pre><code>list = [1000,2000,3000,4000];
  for (var i = 0; i &lt; 4; i++) {
      setTimeout(console.log('Hello'), list[i]);}
  </code></pre>
  
  <p>Why doesn't this code print out 'Hello' after the times in the list?</p>