JavaScript
JavaScript tried to divide a BigInt by zero
JavaScript threw because a BigInt division or remainder operation used 0n as the divisor.
JavaScript
JavaScript threw because a BigInt division or remainder operation used 0n as the divisor.
Observed message
RangeError: BigInt division by zero
Why it happens
How to fix it
Official reference
MDN: RangeError: BigInt division by zeroRelated errors
Explore more