Browse Source

docs(pronoun): correct grammar

pull/1262/head
davhojt 2 years ago committed by Dav Hojt
parent
commit
6d7155a2e0
  1. 17
      subjects/pronoun/README.md

17
subjects/pronoun/README.md

@ -2,10 +2,19 @@
### Instructions
Create a function called `pronoun` that has a string as parameter. This function returns an object
that will have all the personal pronouns, present in the string, as keys. Each key will have a sub object with the
first word after each of the personal pronouns found in the string.
Also, a property `count` must be added, to the sub object, with the amount of occurrences of the pronoun.
Create a function named `pronoun` that accepts a string parameter.
This function returns an object that will have all the personal pronouns, present in the string, as keys. Each key will have a sub object with the first word after each of the personal pronouns found in the string.
You must also a `count` property to the sub object, with the amount of occurrences of the pronoun.
Pronouns:
- i
- you
- he
- she
- it
- they
- we
#### Example

Loading…
Cancel
Save