IE8下parseInt(8)返回0

参考http://www.breakingpar.com/bkp/home.nsf/0/87256B280015193F87256C85006A6604

解决方案:

parseInt('8', '10');


你可能感兴趣的:(IE8下parseInt(8)返回0)