Skip to content

Leopard: "Letter of" block should convert input to string first #49

Closed
@PullJosh

Description

@PullJosh

Identified here when analyzing KarateToast's first project. letter (n) of (110101010110111) was treating the input like a number and returning undefined.

This is sort of the fault of the compile-time check that turns variable & list values into numbers where appropriate, but I think the best solution is to always run input.toString()[n].

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