IT 浏览 1,700 parseInt 小陷阱 看代码: alert(parseInt(0.000001)); alert(parseInt(0.0000001)); 第一条语句输出 0, 第二条语句输出 1, 囧。