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 5d320f1 commit ab7e810Copy full SHA for ab7e810
doc/api/util.md
@@ -245,9 +245,9 @@ changes:
245
* `code` {string} A deprecation code. See the [list of deprecated APIs][] for a
246
list of codes.
247
* `options` {Object}
248
- * `modifyPrototype` {boolean} When true do not change the prototype of object
+ * `modifyPrototype` {boolean} When false do not change the prototype of object
249
while emitting the deprecation warning.
250
- **Default:** `false`.
+ **Default:** `true`.
251
* Returns: {Function} The deprecated function wrapped to emit a warning.
252
253
The `util.deprecate()` method wraps `fn` (which may be a function or class) in
0 commit comments