Skip to content

Commit 5bd6424

Browse files
authored
Merge pull request #4 from qntmLeap/patch-2
Fix typo in the code
2 parents bf3398b + 0fa7d5a commit 5bd6424

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)