Check if a key exists in a map using _has_ method. It returns _true_ or _false_.
Check if a key exists in a map using _has_ method. It returns _true_ or _false_.
@ -390,7 +390,7 @@ const b = [3, 4, 5, 7]
const countries = ['Finland', 'Sweden', 'Norway']
const countries = ['Finland', 'Sweden', 'Norway']
```
```
1. create an empty set
1. Create an empty set
2. Create a set containing 0 to 10 using loop
2. Create a set containing 0 to 10 using loop
3. Remove an element from a set
3. Remove an element from a set
4. Clear a set
4. Clear a set
@ -405,9 +405,9 @@ const countries = ['Finland', 'Sweden', 'Norway']
### Exercises: Level 3
### Exercises: Level 3
1. How many languages are there in the countries object file.
1. How many languages are there in the countries object file?
1. \*\*\* Use the countries data to find the 10 most spoken languages:
2. Use the [countries_data.js](https://github.com/Asabeneh/30-Days-Of-JavaScript/blob/master/data/countries_data.js) to find the 10 most spoken languages: