diff --git a/subjects/has-city/README.md b/subjects/has-city/README.md index dbbf0add..94fd2805 100644 --- a/subjects/has-city/README.md +++ b/subjects/has-city/README.md @@ -2,10 +2,9 @@ ### 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. +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. -If it is, it should be returned ` is a city from `, otherwise +If it does, it should return the string ` is a city from `, otherwise ` is not a city from `.