Skip to content

__indexOf and coverage report #4268

@genu

Description

@genu

Related to #2562

var __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };

I realize that this is a workaround for lack of indexOf in IE < 9.0, however, coverage reports are affected since the .indexOf() is defined in most browsers.

Is there a way to disable IE less than 9 altogether to disable the extra indexOf definition?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions