function myBigInt(value) {
    if (typeof value === 'string') {
      const match = value.match(/^0([xo])([0-9a-f]+)$/i)
      if (match) {
        return bigInt(match[2], match[1].toLowerCase() === 'x' ? 16 : 8)
      }
    }
    return bigInt(value)
  }
// The polyfill doesn't support hex yet, provide a temporary fix
The polyfill doesn't support hex yet, provide a temporary fix
The polyfill doesn ' t support hex yet provide a temporary fix
function myBigInt(value) {
    if (typeof value === 'string') {
      const match = value.match(/^0([xo])([0-9a-f]+)$/i)
      if (match) {
        return bigInt(match[2], match[1].toLowerCase() === 'x' ? 16 : 8)
      }
    }
    return bigInt(value)
  }
function myBigInt ( value ) { if ( typeof value === 'string' ) { const match = value . match ( / ^0([xo])([0-9a-f]+)$ / i ) if ( match ) { return bigInt ( match [ 2 ] , match [ 1 ] . toLowerCase ( ) === 'x' ? 16 : 8 ) } } return bigInt ( value ) }
The polyfill doesn't support hex yet, provide a temporary fix
The polyfill doesn ' t support hex yet provide a temporary fix