Skip to content

Commit 0fa7d5a

Browse files
authored
Fix typo in the code
1 parent 9add0b1 commit 0fa7d5a

File tree

1 file changed

+1
-1
lines changed
  • 1-js/05-data-types/07-map-set-weakmap-weakset

1 file changed

+1
-1
lines changed

1-js/05-data-types/07-map-set-weakmap-weakset/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ let john = { name: "John", *!*id: 1*/!* };
6767
let visitsCounts = {};
6868

6969
// now store the value by id
70-
visitCounts[john.id] = 123;
70+
visitsCounts[john.id] = 123;
7171

7272
alert( visitsCounts[john.id] ); // 123
7373
```

0 commit comments

Comments
 (0)