title: Javascript slice function returning different values for same value?
body: <p>im solving a question on hackerrank and i encountered a problem. my slice method is not returning the right value. I was able to recreate using console.log.</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(+("9007199254740993"));
  
  console.log("9007199254740993");</code></pre>
  </div>
  </div>
  </p>
  
  <p>why do these return different values?</p>