Skip to content

Commit 02875ca

Browse files
authored
Merge pull request vue3-club#10 from guojiabing/es6-Reflect
fix(index.md) 修正Reflect一个笔误
2 parents 3898b7a + 7ee8769 commit 02875ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/es6/index.md

+1-1
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)