We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fbbcd1 commit d3b38c2Copy full SHA for d3b38c2
1-js/04-object-basics/04-object-methods/article.md
@@ -160,7 +160,9 @@ let user = {
160
let admin = user;
161
user = null; // overwrite to make things obvious
162
163
-admin.sayHi(); // TypeError: Cannot read property 'name' of null!
+*!*
164
+admin.sayHi(); // TypeError: Cannot read property 'name' of null
165
+*/!*
166
```
167
168
If we used `this.name` instead of `user.name` inside the `alert`, then the code would work.
0 commit comments