-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proxy的简单使用 #26
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
语法
target
用Proxy
包装的目标对象(可以是任何类型的对象,包括原生数组,函数,甚至另一个代理)handler
对象,其属性是当执行一个操作时定义代理的行为的函数,如set
,get
,has
等that
其自身用法
定义私有变量
参数校验
无操作转发代理
延展阅读
The text was updated successfully, but these errors were encountered: