From ce382738f974d1ebdb08062e770c2f5897206ffb Mon Sep 17 00:00:00 2001 From: Mahdyar Hasanpour Date: Sat, 17 Jul 2021 18:05:27 +0430 Subject: [PATCH] add a missing colon --- 1-js/05-data-types/05-array-methods/12-reduce-object/task.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/05-array-methods/12-reduce-object/task.md b/1-js/05-data-types/05-array-methods/12-reduce-object/task.md index d3c8f8eb..7f008235 100644 --- a/1-js/05-data-types/05-array-methods/12-reduce-object/task.md +++ b/1-js/05-data-types/05-array-methods/12-reduce-object/task.md @@ -4,7 +4,7 @@ importance: 4 # Create keyed object from array -Let's say we received an array of users in the form `{id:..., name:..., age... }`. +Let's say we received an array of users in the form `{id:..., name:..., age:... }`. Create a function `groupById(arr)` that creates an object from it, with `id` as the key, and array items as values.