function Rect(config) {
// var this = new Object();
for (var i in config) {
this[i] = config[i];
}
// return this;
}
// 共
React.prototype = {
// 指回
constructor:Rect;
// stroke.call(this,arguments);
stroke:function(){
console.log(this.key);
}
}
网友评论