79

javascript 代理模式(通俗易懂)

 6 years ago
source link: https://juejin.im/post/5a68491cf265da3e5661b342
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
所谓的的代理模式就是为一个对象找一个替代对象,以便对原对象进行访问。 使用代理的原因是我们不愿意或者不想对原对象进行直接操作,我们使用代理就是让它帮原对象进行一系列的操作,等这些东西做完后告诉原对象就行了。就像我们生活的那些明星的助理经纪人一样。 我们举一个明

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK