Skip to content

Commit a531d63

Browse files
committed
revert most of the comment change
1 parent 62d545a commit a531d63

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/jsutils/instanceOf.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ const isProduction =
77
process.env.NODE_ENV === 'production';
88

99
/**
10-
* A utility which throws an error warning when multi-realm constructors are detected,
11-
* triggered by a positive brand check and a negative instanceof (for an object).
10+
* A replacement for instanceof which includes an error warning when multi-realm
11+
* constructors are detected.
1212
*
13-
* When not in development mode, only the brand check is used.
13+
* In production, it simply uses the provided brand check value.
1414
*
1515
* See: https://expressjs.com/en/advanced/best-practice-performance.html#set-node_env-to-production
1616
* See: https://webpack.js.org/guides/production/

0 commit comments

Comments
 (0)