fixed docs...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-05-02 03:02:10 +03:00
parent a127225f67
commit 935f0e01fa

View File

@ -54,7 +54,7 @@ var A = new object.Constructor('A')
In _JavaScript_ constructor `B` inherits from constructor `A` iff
`B.prototype` is _prototype_ of `A.prototype`. So to implement inheritance
`A.prototype` is _prototype_ of `B.prototype`. So to implement inheritance
we simply need to _link_ the prototypes of two constructors via `.__proto__`,
`Object.create(..)` or other means.