e1951c13cc50a38543b339bbfb7689450bcb29d5326cfc514f5ee79f5aeb8b73e2e1f176ec78563a721c5a09125b4f40dc61c2b0746cf45f1ae1a4e13b3641 184 B

123456
  1. 'use strict';
  2. module.exports = function bigIntMod(BigIntRemainder, bigint, modulo) {
  3. var remain = BigIntRemainder(bigint, modulo);
  4. return remain >= 0 ? remain : remain + modulo;
  5. };