Fix typos in 'Proxy and Reflect'
This commit is contained in:
parent
dccca58f26
commit
b83f2d7f1d
3 changed files with 6 additions and 6 deletions
|
@ -19,5 +19,5 @@ function wrap(target) {
|
|||
user = wrap(user);
|
||||
|
||||
alert(user.name); // John
|
||||
alert(user.age); // ReferenceError: Property doesn't exist "age"
|
||||
alert(user.age); // ReferenceError: Property doesn't exist: "age"
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue