Skip to content

Bug when one of breaks is exactly equal to zero #3

@aparshin

Description

@aparshin

In this line in the second condition you want to check that i+1 < length. But if one of breaks is exactly equal to zero, this check will fail (and lalse will be returned).

Maybe, just check i+1 < this.range.length?

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