Delete ; after function declaration

This commit is contained in:
Lavrentiy Rubtsov 2022-03-12 00:05:30 +06:00 committed by GitHub
parent 2cca9a9d09
commit d8ba31db57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ let user = {
// first, declare
function sayHi() {
alert("Hello!");
};
}
// then add as a method
user.sayHi = sayHi;