title: JS parseInt() returning 0
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8444980/why-parseint-works-like-this">Why parseInt() works like this?</a>  </p>
  </blockquote>
  
  
  
  <p>I have an issue with parseInt() returning 0 unexpectedly, here's a sample:</p>
  
  <pre><code>parseInt('-06') = -6
  parseInt('-07') = -7
  parseInt('-08') = 0
  </code></pre>
  
  <p>Why is the result 0? Same if I keep going down (-09, -10, ect). The format of the string comes from my framework so I need to deal with it. Thanks!</p>