Skip to content

localeCompare and equal chunks #29

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);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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