You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
xpetit def316d0f3
Reformat markdown (with prettier)
4 years ago
..
README.md Reformat markdown (with prettier) 4 years ago

README.md

Has City

Instructions

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 <city> is not a city from <country>.