Possible Duplicate:
Why does parseInt(“09”) return 0 but parseInt(“07”) return 7?
I have a string like (10) | (01)
I want convert to int.
I use this code
parseInt("10") ----> 10
parseInt("07") ----> 7
but when i use this code for (08) , it is convert to (0)