Merge pull request #2913 from Rnbsov/patch-12
Delete ; after function declaration
This commit is contained in:
commit
68dea68a0f
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ let user = {
|
|||
// first, declare
|
||||
function sayHi() {
|
||||
alert("Hello!");
|
||||
};
|
||||
}
|
||||
|
||||
// then add as a method
|
||||
user.sayHi = sayHi;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue