摘要: var i = 0 Object.defineProperty(window,'x',{ get(){ return ++i } }) function Fn(){ if(this.constructor == Fn){ this.id =i }else{ let obj = {} obj.__pr 阅读全文
posted @ 2020-07-17 19:23 671_MrSix 阅读(128) 评论(0) 推荐(0) 编辑