Skip to content

Commit 739ec8a

Browse files
authored
Update article.md
1 parent 24029ae commit 739ec8a

File tree

1 file changed

+1
-1
lines changed
  • 1-js/04-object-basics/06-constructor-new

1 file changed

+1
-1
lines changed

1-js/04-object-basics/06-constructor-new/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function User(name) {
123123
this.name = name;
124124
}
125125

126-
let john = User("John"); // переадресовывает вызовы на new User
126+
let john = User("John"); // переадресовывает вызов на new User
127127
alert(john.name); // John
128128
```
129129

0 commit comments

Comments
 (0)