BigInt `0n` Throws Error
WilsontheWolf opened this issue · comments
Wilson commented
牛牛 commented
I found this is because 0n
evaluates true
in this if
clause and the original value (as a bigint) is returned directly.
Lines 86 to 88 in 343abd9
I'm not really sure what is the intention of this check.
Ryuichi Okumura commented
published v6.0.1.