diff --git a/decimal.js b/decimal.js index ba9a126..511028e 100644 --- a/decimal.js +++ b/decimal.js @@ -4858,7 +4858,7 @@ // Node and other environments that support module.exports. } else if (typeof module != 'undefined' && module.exports) { if (typeof Symbol == 'function' && typeof Symbol.iterator == 'symbol') { - P[Symbol.for('nodejs.util.inspect.custom')] = P.toString; + P[Symbol['for']('nodejs.util.inspect.custom')] = P.toString; P[Symbol.toStringTag] = 'Decimal'; }