模式:代理模式

 

 场景1:jq.proxy 

settimeout获取不到this

 

 场景2:

ES6 的 Proxy

 

posted @ 2020-11-27 10:37  毛栗的demo  阅读(50)  评论(0)    收藏  举报