Skip to content

Non-polyfilling version #4

Closed
Closed
@jfirebaugh

Description

@jfirebaugh

I'd like to be able to do const stringFromCodePoint = require('string.fromCodePoint'); and not touch any global state.

Rationale: I'm writing a library. It needs to use the "string from codepoint" algorithm, but it shouldn't go around changing globals itself. For instance, the user may be polyfilling String.fromCodePoint themselves, with another implementation, and my library should not overwrite that.

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