Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

buffer: Add Buffer#includes() #3568

Closed
wants to merge 1 commit into from

Conversation

rodmachen
Copy link
Contributor

Ref: #3552

This adds an includes() method to buffer, bypassing future implementations from V8.

includes() wraps around buffer's indexOf() method.

@rodmachen rodmachen mentioned this pull request Oct 28, 2015
@ChALkeR ChALkeR added the buffer Issues and PRs related to the buffer subsystem. label Oct 28, 2015
@Fishrock123
Copy link
Contributor

Sorry, looks like two people made PRs at the same time, this is a duplicate of #3567

That one has more tests, so I'm going to close this if that's ok @rodmachen

@Fishrock123 Fishrock123 added the duplicate Issues and PRs that are duplicates of other issues or PRs. label Oct 28, 2015
@ChALkeR ChALkeR added the semver-minor PRs that contain new features and should be released in the next minor version. label Oct 28, 2015
@rodmachen
Copy link
Contributor Author

No problem.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
buffer Issues and PRs related to the buffer subsystem. duplicate Issues and PRs that are duplicates of other issues or PRs. semver-minor PRs that contain new features and should be released in the next minor version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants