<分区>
Possible Duplicate:
Workarounds for JavaScript parseInt octal bug
How to parseInt a string with leading 0
document.write(parseInt("07"));
产生“7”
document.write(parseInt("08"));
产生“0”
这给我带来了问题(很抱歉我胡说八道,我必须提交问题,否则我不能提交问题)。任何人都知道为什么它是愚蠢的或者是否有更好的功能?