Function.prototype.method = function (name,func) {
this.prototype[name] = func;
return this;
}
String.method("trim",function(){
})
扩展函数方法
猜你喜欢
转载自www.cnblogs.com/yuyedaocao/p/12060655.html
今日推荐
周排行