Skip to content

Commit 68dea68

Browse files
authored
Merge pull request #2913 from Rnbsov/patch-12
Delete ; after function declaration
2 parents a3273fb + d8ba31d commit 68dea68

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

Lines changed: 1 addition & 1 deletion
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)