Skip to content

Commit b2840d0

Browse files
authored
typo
1 parent 5fb050f commit b2840d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/04-object-basics/02-object-copy/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ let user = { name: 'John' };
6767
let admin = user;
6868

6969
*!*
70-
admin.name = 'Pete'; // изменено по ссылке из переменной "admin"
70+
admin.name = 'Pete'; // изменено по ссылке из переменной "admin"
7171
*/!*
7272

7373
alert(*!*user.name*/!*); // 'Pete', изменения видны по ссылке из переменной "user"

0 commit comments

Comments
 (0)