Delete ; after function declaration
This commit is contained in:
parent
2cca9a9d09
commit
d8ba31db57
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ let user = {
|
||||||
// first, declare
|
// first, declare
|
||||||
function sayHi() {
|
function sayHi() {
|
||||||
alert("Hello!");
|
alert("Hello!");
|
||||||
};
|
}
|
||||||
|
|
||||||
// then add as a method
|
// then add as a method
|
||||||
user.sayHi = sayHi;
|
user.sayHi = sayHi;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue