alert(parseInt('456lee')); //456,返回正数部分 alert(parseInt('lee456lee')); //NaN alert(parseInt('lee456lee')); //NaN alert(parseInt('')); //NaN