Skip to content

Ordering issue for String.prototype.includes #950

@Elchi3

Description

@Elchi3

From the survey:

When double checking on the browser support for String.prototype.includes, the visuals made it look like Fireforx did not support it, as there was no green. You had to click a red arrow element at the bottom to see that it was in fact supported from v 40 on; the dominant visual information was the non-standard contains method for versions 18-48

The ordering in the array is wrong: https://github.com/mdn/browser-compat-data/blob/master/javascript/builtins/String.json#L906 version_added: 40 needs to be the first element.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions