We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
occurences
collection.js
occurences(["foo", "foo", "bar"], "foo")
occurences("foo foo bar", "foo")
The text was updated successfully, but these errors were encountered:
how this method must work with strings? can I consider that repeated substrings always separated by space?
Sorry, something went wrong.
@inikonorov that should be good enough for start, there's always room for improvement in the future if needed
done! #85
@inikonorov thanks for all of the help! I've released it as v1.1.16
v1.1.16
No branches or pull requests
Acceptance criteria
occurences
method incollection.js
occurences(["foo", "foo", "bar"], "foo")
returns 2)occurences("foo foo bar", "foo")
returns 2)The text was updated successfully, but these errors were encountered: