atto
atto copied to clipboard
Numeric.bigInt can fail in scala-js
The numeric parsing methods in the JDK stubs delegate to parseInt
, etc., in Javascript which is not as lenient as the parsers on the JVM. In particular c.isDigit
doesn't guarantee that Integer.parseInt
will work. See https://github.com/gemini-hlsw/gem/issues/201