Skip to content

Consistently check for String options #52

Closed
@anba

Description

@anba

When the alphabet option is read, this extra step is performed:

If alphabet is not a String, throw a TypeError exception.

This extra step isn't present when the lastChunkHandling option is read. Either both options should have an explicit check for String values, or this should happen implicitly when the allowed String values are checked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions