From dfd0bba8ad6dfa0922556236b8ade60fdc311ebd Mon Sep 17 00:00:00 2001 From: zorion Date: Thu, 26 Aug 2021 10:22:53 +0200 Subject: [PATCH] Fix typo in day 10 quotes. The quotes where missplaced in the last output sample so the "prev" "next" links didn't work. --- 10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 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..6ee9a9b 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 @@ -372,9 +372,9 @@ for (const country of countriesMap) { (2) ["Norway", "Oslo"] ``` -```sh +```js for (const [country, city] of countriesMap){ -console.log(country, city) + console.log(country, city) } ``` @@ -435,6 +435,7 @@ const countries = ['Finland', 'Sweden', 'Norway'] console.log(mostSpokenLanguages(countries, 3)) ``` +```sh [ {'English':91}, {'French':45}, @@ -448,4 +449,4 @@ const countries = ['Finland', 'Sweden', 'Norway'] [<< 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) -``` +