From b53dfe3314fbddc46d77fc2df713d1e243f0289d Mon Sep 17 00:00:00 2001 From: David Date: Tue, 28 Dec 2021 12:32:18 +0400 Subject: [PATCH] Update ch3.md --- get-started/ch3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-started/ch3.md b/get-started/ch3.md index 43be80556..57e18b871 100644 --- a/get-started/ch3.md +++ b/get-started/ch3.md @@ -115,7 +115,7 @@ chars; // "w", "o", "r", "l", "d", "!" ] ``` -A `Map` data structure uses objects as keys, associating a value (of any type) with that object. Maps have a different default iteration than seen here, in that the iteration is not just over the map's values but instead its *entries*. An *entry* is a tuple (2-element array) including both a key and a value. +A `Map` data structure uses any value (both objects and primitive values) as keys, associating a value (of any type) with that key. Maps have a different default iteration than seen here, in that the iteration is not just over the map's values but instead its *entries*. An *entry* is a tuple (2-element array) including both a key and a value. Consider: