title: Why does 012 return 10 in the console?
body: <p>Why if I log <code>012</code> to the console, it returns 10? Or e.g. <code>0123</code> returns <code>83</code>?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>console.log(012);
  console.log(0123);</code></pre>
  </div>
  </div>
  </p>