var str = new String('hello');//字符类型的包装对象 : String在创建的时候()里面有hello这个字符是怎么被传参的?
//alert( typeof str );
alert(str.charAt(1));
String.prototype.charAt = function(){};
//问题:字符类型的包装对象 : String在创建的时候()里面有hello这个字符是怎么被传参的?
慕丝7291255
相关分类