字符串
String.prototype.todos = function(){
console.log("124")
}
var sd = "112322";
sd.todos()
124
对象
Object.prototype.sss = function(){
console.log(this);
}
new Object = daa;
daa.dd = "111"
daa.sss();
{dd: "111"}
字符串
String.prototype.todos = function(){
console.log("124")
}
var sd = "112322";
sd.todos()
124
对象
Object.prototype.sss = function(){
console.log(this);
}
new Object = daa;
daa.dd = "111"
daa.sss();
{dd: "111"}