Skip to content

What should typeof typeObject yield? #7

@nikomatsakis

Description

@nikomatsakis

At some point, I think it was the intention that typeof uint8 yielded "function". It's not clear to me what typeof new StructType(...) was intended to yield. I think I'd personally prefer to just yield object all the time, but I don't have a good sense for what JS users "expect" here.

ping @dherman

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