How come parseInt("08") = 0, parseInt("07") = 7
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4481524/javascript-function-parseint-doesnt-parse-numbers-with-leading-0-correctly">JavaScript function parseInt() doesn&#39;t parse numbers with leading 0 correctly</a>  </p>
</blockquote>



<p>Strange issues when parsing in JS occur.</p>

<pre><code>parseInt("08")
//The result is: 0

parseInt("07")
//The result is: 7
</code></pre>

<p>Why is this happening?</p>
