add missed ;
This commit is contained in:
parent
2cca9a9d09
commit
da9c76f9e1
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ If we put these operations on separate lines, then `this` will be lost for sure:
|
||||||
let user = {
|
let user = {
|
||||||
name: "John",
|
name: "John",
|
||||||
hi() { alert(this.name); }
|
hi() { alert(this.name); }
|
||||||
}
|
};
|
||||||
|
|
||||||
*!*
|
*!*
|
||||||
// split getting and calling the method in two lines
|
// split getting and calling the method in two lines
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue