We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5925754 commit 89740a4Copy full SHA for 89740a4
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