Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7ee8769

Browse files
author
郭佳兵
committed
fix(index.md) 修正proxy一个笔误
1 parent 3898b7a commit 7ee8769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/es6/index.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ const proxy = new Proxy(target, {
221221
if(propkey[0] === '_'){
222222
throw Error(`${propkey} is restricted`)
223223
}
224-
return Reflect.get(target, propkey, value, proxy)
224+
return Reflect.set(target, propkey, value, proxy)
225225
}
226226
})
227227

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /