Javascript behaves differently with values having leading zeroes. alert(b) - prints different value.
var a = 67116; var b = 00015; alert(a); alert(b);
A leading 0 makes the value an octal literal, so the value you put will be interpreted as a base 8 integer.
0
In other words, 015 will be equivalent to parseInt('15', 8).
015
parseInt('15', 8)