add missed ;

This commit is contained in:
Lavrentiy Rubtsov 2022-03-12 00:25:19 +06:00 committed by GitHub
parent 2cca9a9d09
commit da9c76f9e1
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