Skip to content

Parse string to BigInt with radix? #12

@sffc

Description

@sffc

Current APIs:

  • parseInt() parses strings to Number with an arbitrary radix.
  • Number.prototype.toString() prints a Number to a string with an arbitrary radix.
  • BigInt.prototype.toString() prints a BigInt to a string with an arbitrary radix.

However, I cannot find a built-in function to parse a string to a BigInt with an arbitrary radix. Stack Overflow seems to agree.

Worth including in this proposal?

(Follow-up to #5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    follow-on proposalThis is out of scope of this proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions