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