|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
### Instructions |
|
|
|
|
|
|
|
|
|
Create a function `hasCity` that takes a string called `country` and a array of strings named `cities`, |
|
|
|
|
which contains the cities of that country and it returns a new function. \ |
|
|
|
|
which returns a new function. \ |
|
|
|
|
The new function takes a string called `city` as a parameter which returns |
|
|
|
|
whether the string is part of the `cities` array or not. |
|
|
|
|
|
|
|
|
|