Skip to content

Commit 6ea9bb4

Browse files
Delete ;
Delete ; after function declaration
1 parent 90b4237 commit 6ea9bb4

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
@@ -52,7 +52,7 @@ let user = {
5252
// сначала объявляем
5353
function sayHi() {
5454
alert("Привет!");
55-
};
55+
}
5656

5757
// затем добавляем в качестве метода
5858
user.sayHi = sayHi;

0 commit comments

Comments
 (0)