diff --git a/subjects/has-city/README.md b/subjects/has-city/README.md index dbbf0add3..d0d65938b 100644 --- a/subjects/has-city/README.md +++ b/subjects/has-city/README.md @@ -2,10 +2,10 @@ ### 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 a array of strings named `cities`, +which contains the cities of that country and it returns a new function. \ +The new function takes a string called `city` as a parameter which returns +whether the string is part of the `cities` array or not. -If it is, it should be returned ` is a city from `, otherwise +If it is, it should return the string ` is a city from `, otherwise ` is not a city from `.