|
|
@ -434,18 +434,16 @@ const countries = ['Finland', 'Sweden', 'Norway']
|
|
|
|
// Your output should look like this
|
|
|
|
// Your output should look like this
|
|
|
|
console.log(mostSpokenLanguages(countries, 3))
|
|
|
|
console.log(mostSpokenLanguages(countries, 3))
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
```js
|
|
|
|
[
|
|
|
|
[
|
|
|
|
{'English':91},
|
|
|
|
{ 'English': 91 },
|
|
|
|
{'French':45},
|
|
|
|
{ 'French': 45 },
|
|
|
|
{'Arabic':25}
|
|
|
|
{ 'Arabic': 25 }
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
🎉 CONGRATULATIONS ! 🎉
|
|
|
|
🎉 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)
|
|
|
|
[<< 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)
|
|
|
|
```
|
|
|
|
|
|
|
|