Closed andvgal closed 1 year ago
If Object.prototype is frozen then "toString" cannot be overridden by assignment.
Workaround is assign most of BigInteger API in single place using feature of JS "var".
Also, the overall size is reduced by ~1.5K
P.S. Tested with ip-address module as there are no dedicated tests.
If Object.prototype is frozen then "toString" cannot be overridden by assignment.
Workaround is assign most of BigInteger API in single place using feature of JS "var".
Also, the overall size is reduced by ~1.5K
P.S. Tested with ip-address module as there are no dedicated tests.