tc39 / proposal-bigint-math

Draft specification for supporting BigInts in JavaScript’s Math methods.
https://tc39.es/proposal-bigint-math/
BSD 3-Clause "New" or "Revised" License
36 stars 2 forks source link

Parse string to BigInt with radix? #12

Closed sffc closed 3 years ago

sffc commented 3 years ago

Current APIs:

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)

jakobkummerow commented 3 years ago

See also: https://github.com/tc39/proposal-number-fromstring

js-choi commented 3 years ago

Yes, I think that would probably be out of scope of this particular proposal, and best left to @mathiasbynens’s proposal (I want that proposal a lot!), but thank you for raising it.