摘要:
//工厂模式 // function person(name,age){ // var obj = new Object(); // obj.name = name; // obj.age = age; // obj.showName = function(){ // return this.nam 阅读全文
posted @ 2018-06-10 12:50
国服第一李师师
阅读(118)
评论(1)
推荐(0)
摘要:
Array.prototype.show=function(){ let _this=this; let arrs=[]; _this.forEach((val,index)=>{ let net=_this.indexOf(val,index+1) if(net 1){ arrs.push(val 阅读全文
posted @ 2018-06-10 12:20
国服第一李师师
阅读(1203)
评论(1)
推荐(0)

浙公网安备 33010602011771号