mirror of https://github.com/01-edu/public.git
parent
6f97733ef0
commit
fd16b89c16
|
@ -2,8 +2,7 @@
|
|||
|
||||
### Instructions
|
||||
|
||||
Create a function `hasCity` that takes a string called `country` and a array of strings,
|
||||
which returns a new function. \
|
||||
Create a function `hasCity` that takes a string called `country` and an array of strings, which are cities of that country, which returns a new function. \
|
||||
The new function takes a string, called `city`, as a parameter and which determines
|
||||
whether the array contains that string or not.
|
||||
|
||||
|
|
Loading…
Reference in New Issue