mirror of https://github.com/01-edu/public.git
Update has-city README
This commit is contained in:
parent
878a832e77
commit
78fd0e12c4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue