title: JavaScript: Keeping the leading zero in a number
body: <p>I have this simple function below. I'm passing a number with a leading zero as an argument and the leading zero is getting stripped out of the number. How can I prevent that from occurring without passing in the number as a string? Is that possible?  </p>
  
  <pre><code>function someFunction(number){
        console.log(number); // 25468 &lt;--- leading zero removed
      }
  
      // pass in a number with leading zeros
      someFunction(025468);
  </code></pre>