Skip to content

proposal: syscall/js: recognize JS bigint primitives in Value.Type #72050

Open
@jcbhmr

Description

@jcbhmr

Proposal Details

Right now there's no TypeBigint for Value.Type() to return if the type is a bigint primitive (typeof v returns "bigint" in js)

I propose adding support for this new primitive, similar to the JS symbol primitive and how that is implemented in syscall/js right now -- it can be completely opaque to Go code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    LibraryProposalIssues describing a requested change to the Go standard library or x/ libraries, but not to a toolOS-JSProposal

    Type

    No type

    Projects

    Status

    Incoming

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions