Skip to content

String.prototype.includes is incorrectly marked as deprecated#974

Merged
Elchi3 merged 1 commit into
mdn:masterfrom
poke:master
Feb 9, 2018
Merged

String.prototype.includes is incorrectly marked as deprecated#974
Elchi3 merged 1 commit into
mdn:masterfrom
poke:master

Conversation

@poke

@poke poke commented Feb 8, 2018

Copy link
Copy Markdown
Contributor

The compatibility table for String.prototype.includes shows that the “Basic support” is deprecated.

I assume the reason for this is that the data was originally converted from String.prototype.contains which indeed no longer exists. But of course includes is actually propertly standardized and fine to use.

@Elchi3 Elchi3 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thank you!

@Elchi3 Elchi3 added the data:js Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript label Feb 9, 2018
@Elchi3 Elchi3 merged commit 883d6b0 into mdn:master Feb 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:js Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants