Currently, Javascript is deducting 2 from the arguments passed in my website.
For example, if I call my function like myFunction(123, 012)
and then log the values of the arguments in the function, they come out as 123, and 10. Why does Javascript deduct 2 from my integer values where there is a leading zero?
My function:
function myFunction(arg1, arg2){
console.log("Argument One: " + arg1 + ". Argument Two: " + arg2);
}