Update has-city README

This commit is contained in:
Clément 2020-06-17 14:15:55 +02:00
parent 878a832e77
commit 78fd0e12c4
1 changed files with 3 additions and 2 deletions

View File

@ -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