Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Consistently check for String options #52

Closed

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.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions