parseInt("123abc"); //123parseInt("1.73"); //1parseInt(".123"); //NaN
var d = "010"; parseInt(d); //8var e = "Ox"; parseInt(e); //16
parseInt("10",2); //2parseInt("10",8); //8parseInt("10",10); //10