mirror of https://github.com/01-edu/public.git
docs(pronoun): correct grammar
This commit is contained in:
parent
23d3613428
commit
6d7155a2e0
|
@ -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…
Reference in New Issue