diff --git a/doc/api/util.md b/doc/api/util.md index 0efa9461abe649..c9681d1c2b2ab7 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -332,6 +332,8 @@ Inherit the prototype methods from one [constructor][] into another. The prototype of `constructor` will be set to a new object created from `superConstructor`. +This mainly adds some input validation on top of +`Object.setPrototypeOf(constructor.prototype, superConstructor.prototype)`. As an additional convenience, `superConstructor` will be accessible through the `constructor.super_` property.