From 604dda2381694650acd27d3d3d239c3d43cb4f3d Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 6 May 2020 03:55:41 +0300 Subject: [PATCH] tweaking docs... Signed-off-by: Alex A. Naanou --- README.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/README.md b/README.md index 1ef98be..5bf746c 100755 --- a/README.md +++ b/README.md @@ -140,15 +140,7 @@ Create a basic constructor... ```javascript // NOTE: new is optional here... var A = new object.Constructor('A') -``` - -In _JavaScript_ constructor `B` inherits from constructor `A` iff -`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. - -```javascript var B = object.Constructor('B', A, {}) var C = object.Constructor('C', B, {})