Skip to content

修复“es6/#为什么要用proxy重构”示例错误 #65

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/es6/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ Object.defineProperty(obj, 'a', {
console.log(`开始读取属性`)
return 1;
},
writable : true
})

obj.a = 2 // 开始设置新值: 2
Expand Down Expand Up @@ -464,4 +463,4 @@ methodsToPatch.forEach(function (method) {
- [https://zh.wikipedia.org/wiki/](https://zh.wikipedia.org/wiki/)
- [https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Proxy](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Proxy)
- [https://es6.ruanyifeng.com/#docs/proxy#Proxy-revocable](https://es6.ruanyifeng.com/#docs/proxy#Proxy-revocable)
- [https://youngzhang08.github.io/](https://youngzhang08.github.io/)
- [https://youngzhang08.github.io/](https://youngzhang08.github.io/)