Skip to content

Incorrect length for some emojis #1

@sallar

Description

@sallar

Hi there,
the library returns incorrect length:

len("❤️"); // 2
len("👊🏽"); // 2

I don’t seem to be able to find a solution for this in ANY library except lodash which has a complicated regex...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions