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 0feffff commit 760b9d6Copy full SHA for 760b9d6
doc/api/util.md
@@ -332,6 +332,8 @@ Inherit the prototype methods from one [constructor][] into another. The
332
prototype of `constructor` will be set to a new object created from
333
`superConstructor`.
334
335
+This mainly adds some input validation on top of
336
+`Object.setPrototypeOf(constructor.prototype, superConstructor.prototype)`.
337
As an additional convenience, `superConstructor` will be accessible
338
through the `constructor.super_` property.
339
0 commit comments