Object.prototype.replace = function(names,name) {
that=this[name];
delete this[name];
this[names]=that;
return this
};
转载于:https://www.cnblogs.com/luckychenchen/p/5612004.html
Object.prototype.replace = function(names,name) {
that=this[name];
delete this[name];
this[names]=that;
return this
};
转载于:https://www.cnblogs.com/luckychenchen/p/5612004.html