|
|
|
@ -2,8 +2,9 @@
|
|
|
|
|
|
|
|
|
|
### Instructions |
|
|
|
|
|
|
|
|
|
Create a function `hasCity` that given a country and an array of cities |
|
|
|
|
of that country and it returns function with city parameter which returns |
|
|
|
|
Create a function `hasCity` that takes a country and an array of cities |
|
|
|
|
of that country and it returns a new function. \ |
|
|
|
|
The new function takes a city parameter which returns |
|
|
|
|
whether a city is part of that country or not. |
|
|
|
|
|
|
|
|
|
If it is, it should be returned `<city> is a city from <country>`, otherwise |
|
|
|
|