Browse Source

more grammar cleanup

pull/933/head
Urmas Rist 2 years ago committed by GitHub
parent
commit
6f97733ef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      subjects/has-city/README.md

8
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 `<city> is a city from <country>`, otherwise
If it does, it should return the string `<city> is a city from <country>`, otherwise
`<city> is not a city from <country>`.

Loading…
Cancel
Save