Skip to content

Commit d8ba31d

Browse files
authored
Delete ; after function declaration
1 parent 2cca9a9 commit d8ba31d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/04-object-basics/04-object-methods/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ let user = {
5151
// first, declare
5252
function sayHi() {
5353
alert("Hello!");
54-
};
54+
}
5555

5656
// then add as a method
5757
user.sayHi = sayHi;

0 commit comments

Comments
 (0)