Skip to content

Commit 081d7b2

Browse files
authored
typo
1 parent d4b3c13 commit 081d7b2

File tree

1 file changed

+1
-1
lines changed
  • 1-js/05-data-types/08-weakmap-weakset/01-recipients-read

1 file changed

+1
-1
lines changed

1-js/05-data-types/08-weakmap-weakset/01-recipients-read/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ messages.shift();
2525
// now readMessages has 1 element (technically memory may be cleaned later)
2626
```
2727

28-
The `WeakSet` allows to store a set of messages and easily check for the existance of a message in it.
28+
The `WeakSet` allows to store a set of messages and easily check for the existence of a message in it.
2929

3030
It cleans up itself automatically. The tradeoff is that we can't iterate over it, can't get "all read messages" from it directly. But we can do it by iterating over all messages and filtering those that are in the set.
3131

0 commit comments

Comments
 (0)