diff options
-rw-r--r-- | doc/api/util.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/util.md b/doc/api/util.md index 0efa9461ab..c9681d1c2b 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. |