Possible Duplicate:
Workarounds for JavaScript parseInt octal bug
I was learning the parseInt() function of javascript and was just trying out, and out of nowhere
parseInt('08')  returns 0
moreover,
parseInt('07')  returns 7 //which is correct
but again
parseInt('09')   returns 0 // really, are you kidding me.?
Either I am crazy or I am missing something?
 
     
     
    