We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8ad6c9 commit 2f0b910Copy full SHA for 2f0b910
big.mjs
@@ -946,7 +946,7 @@ P.toFixed = function (dp, rm) {
946
* Big.PE, or a negative exponent equal to or less than Big.NE.
947
* Omit the sign for negative zero.
948
*/
949
-P.toJSON = P.toString = function () {
+P[Symbol.for('nodejs.util.inspect.custom')] = P.toJSON = P.toString = function () {
950
var x = this,
951
Big = x.constructor;
952
return stringify(x, x.e <= Big.NE || x.e >= Big.PE, !!x.c[0]);
0 commit comments