Skip to content

Commit 0e0dcae

Browse files
committed
#146 Symbol.for to Symbol['for']
1 parent 04c6c6f commit 0e0dcae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

decimal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4858,7 +4858,7 @@
48584858
// Node and other environments that support module.exports.
48594859
} else if (typeof module != 'undefined' && module.exports) {
48604860
if (typeof Symbol == 'function' && typeof Symbol.iterator == 'symbol') {
4861-
P[Symbol.for('nodejs.util.inspect.custom')] = P.toString;
4861+
P[Symbol['for']('nodejs.util.inspect.custom')] = P.toString;
48624862
P[Symbol.toStringTag] = 'Decimal';
48634863
}
48644864

0 commit comments

Comments
 (0)