Skip to content

Commit 08cc593

Browse files
committed
minor fixes
1 parent a964025 commit 08cc593

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ The most notable limitation of `WeakMap` and `WeakSet` is the absence of iterati
284284

285285
`WeakSet` is `Set`-like collection that stores only objects and removes them once they become inaccessible by other means.
286286

287-
Their main advantages are that they have weak reference to objects, so they can easily be removed by garbage colector.
287+
Their main advantages are that they have weak reference to objects, so they can easily be removed by garbage collector.
288288

289289
That comes at the cost of not having support for `clear`, `size`, `keys`, `values`...
290290

0 commit comments

Comments
 (0)