Merge pull request #2914 from Rnbsov/patch-13

add missed ;
This commit is contained in:
Ilya Kantor 2022-04-14 06:25:52 +03:00 committed by GitHub
commit 85d07ab504
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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