diff --git a/subjects/has-city/README.md b/subjects/has-city/README.md index 242b21b4..e9dc7eda 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 string called `country` and a array of strings named `cities`, +Create a function `hasCity` that takes a string called `country` and a array of strings, which 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. +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 return the string ` is a city from `, otherwise +If it does, it should return the string ` is a city from `, otherwise ` is not a city from `.