title: increment in for loop javascript
body: <p>I don't know why but I can't increment value in for loop normally.</p>
  
  <pre><code>for (var i = 0; i &lt; 5; i++) {
  var number= 0
  number++
  console.log(number);
  }
  </code></pre>
  
  <p>That's the simple example,and I get 5 times number 1 in console,insted of 0,1,2,3,4.
  How I can make that work?</p>