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 16db20c commit cbd5c95Copy full SHA for cbd5c95
src/jsutils/nodejsCustomInspectSymbol.js
@@ -1,7 +1,7 @@
1
// @flow strict
2
3
const nodejsCustomInspectSymbol =
4
- typeof Symbol === 'function'
+ typeof Symbol === 'function' && typeof Symbol.for === 'function'
5
? Symbol.for('nodejs.util.inspect.custom')
6
: undefined;
7
0 commit comments