Skip to content

Commit a6a75f3

Browse files
authored
Merge pull request #1304 from DouglasMV/fixes
Fixed a typo
2 parents 5f540e7 + e3cec3b commit a6a75f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/08-weakmap-weakset/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ countUser(john);
147147
john = null;
148148
```
149149

150-
Now `john` object should be garbage collected, but remains is memory, as it's a key in `visitsCountMap`.
150+
Now `john` object should be garbage collected, but remains in memory, as it's a key in `visitsCountMap`.
151151

152152
We need to clean `visitsCountMap` when we remove users, otherwise it will grow in memory indefinitely. Such cleaning can become a tedious task in complex architectures.
153153

0 commit comments

Comments
 (0)