From 29a587e2b21efebd4509c3256e4391418e59a6d6 Mon Sep 17 00:00:00 2001 From: Kamrul Islam Shahin <44506464+shahin-cuet@users.noreply.github.com> Date: Sun, 25 Oct 2020 13:04:35 +0600 Subject: [PATCH] fix typo, exercises level 3 output and day link --- 10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md | 21 ++++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) 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 6d0064c..a46d33d 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 @@ -246,7 +246,7 @@ Set(6) {1, 2, 3, 4, 5,6} ### Intersection of sets -To find an intersection of two sets can be achieved using filter. Lets find the union of set A and set B (A ∩ B) +To find an intersection of two sets can be achieved using filter. Lets find the intersection of set A and set B (A ∩ B) ```js let a = [1, 2, 3, 4, 5] @@ -417,7 +417,8 @@ const countries = ['Finland', 'Sweden', 'Norway'] ```js // Your output should look like this - console.log(mostSpokenLanguages(countries, 10))[ + console.log(mostSpokenLanguages(countries, 10)) + [ ({ English: 91 }, { French: 45 }, { Arabic: 25 }, @@ -433,19 +434,13 @@ const countries = ['Finland', 'Sweden', 'Norway'] // Your output should look like this console.log(mostSpokenLanguages(countries, 3)) + [ + {'English':91}, + {'French':45}, + {'Arabic':25} + ] ``` -[ -{'English':91}, -{'French':45}, -{'Arabic':25} -] - -``` - - 🎉 CONGRATULATIONS ! 🎉 - [<< Day 9](../09_Day_Higher_order_functions/09_day_higher_order_functions.md) | [Day 11>>](../11_Day_Destructuring_and_spreading/11_day_destructuring_and_spreading.md) -```