Spelling fix

This commit is contained in:
Elie 2018-12-19 01:26:52 +02:00 committed by GitHub
parent 45435ce1bb
commit e9ed9f16c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -257,7 +257,7 @@ On the last line there is a ternary operator that chooses either `user.hi` or `u
The method is immediately called with parentheses `()`. But it doesn't work right!
You can see that the call results in an error, cause the value of `"this"` inside the call becomes `undefined`.
You can see that the call results in an error, because the value of `"this"` inside the call becomes `undefined`.
This works (object dot method):
```js