Update article.md
This commit is contained in:
parent
cd2c7ce3c8
commit
075266e251
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ In most cases we can do the same without `Reflect`, for instance, reading a prop
|
|||
|
||||
### Proxying a getter
|
||||
|
||||
Let's see an example that demonstrates why `Reflect.get` is better. And we'll also see why `get/set` have the fourth argument `receiver`, that we didn't use before.
|
||||
Let's see an example that demonstrates why `Reflect.get` is better. And we'll also see why `get/set` have the third argument `receiver`, that we didn't use before.
|
||||
|
||||
We have an object `user` with `_name` property and a getter for it.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue