From 95917f6055710352432f13c16c5151944f364a1f Mon Sep 17 00:00:00 2001 From: Dung Nguyen Anh Date: Wed, 18 Sep 2024 21:25:48 +0700 Subject: [PATCH] feat: update map definition --- 10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md b/10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md index 25dafe9..8223a29 100644 --- a/10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md +++ b/10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md @@ -44,7 +44,7 @@ ## Set -Set is a collection of elements. Set can only contains unique elements. +Set is a collection of elements. Set can only contains unique elements. Let us see how to create a set in the section below. ### Creating an empty set @@ -284,6 +284,8 @@ Set(2) {1, 2} ## Map +Map objects are collections of key-value pairs. + ### Creating an empty Map ```js