From 816b29f78a1df7d82659f003dc66aa0498c66d44 Mon Sep 17 00:00:00 2001 From: hrodward <2536699+hrodward@users.noreply.github.com> Date: Mon, 14 Oct 2019 12:26:44 +0200 Subject: [PATCH] Update task.md Fixed grammatical errors --- .../05-data-types/08-weakmap-weakset/01-recipients-read/task.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/08-weakmap-weakset/01-recipients-read/task.md b/1-js/05-data-types/08-weakmap-weakset/01-recipients-read/task.md index c3d3bbc0..bba96cda 100644 --- a/1-js/05-data-types/08-weakmap-weakset/01-recipients-read/task.md +++ b/1-js/05-data-types/08-weakmap-weakset/01-recipients-read/task.md @@ -16,7 +16,7 @@ let messages = [ Your code can access it, but the messages are managed by someone else's code. New messages are added, old ones are removed regularly by that code, and you don't know the exact moments when it happens. -Now, which data structure you could use to store information whether the message "have been read"? The structure must be well-suited to give the answer "was it read?" for the given message object. +Now, which data structure could you use to store information whether the message "has been read"? The structure must be well-suited to give the answer "was it read?" for the given message object. P.S. When a message is removed from `messages`, it should disappear from your structure as well.