How to parseInt a string with leading 0

include the radix:

parseInt("09", 10);

Leave a Comment