Skip to content

Commit 5ad3802

Browse files
committed
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
2 parents cc2e6ca + 3815c55 commit 5ad3802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/proxy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ proxy.a = 'b';
6868
target.a // "b"
6969
```
7070

71-
上面代码中,`handler`是一个空对象,没有任何拦截效果,访问`handler`就等同于访问`target`
71+
上面代码中,`handler`是一个空对象,没有任何拦截效果,访问`proxy`就等同于访问`target`
7272

7373
一个技巧是将 Proxy 对象,设置到`object.proxy`属性,从而可以在`object`对象上调用。
7474

0 commit comments

Comments
 (0)