Update solution.md
This commit is contained in:
parent
d43276a7f3
commit
0de5046a40
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ function makeUser(){
|
|||
|
||||
alert( makeUser().name ); // Error: Cannot read property 'name' of undefined
|
||||
```
|
||||
As you can see the result of `alert( makeUser().name )` is the same as `alert( user.ref.name )`
|
||||
As you can see the result of `alert( makeUser().name )` is the same as the result of `alert( user.ref.name )` from the previous example.
|
||||
|
||||
Here's the opposite case:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue