Skip to content

localeCompare and equal chunks #29

@raaad

Description

@raaad

In 0.8.1 at line 45:
return comp / Math.abs(comp);

always leaves function even if chunks are equal.

I think this would help, it does for me:
if (comp) return comp / Math.abs(comp);

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