From 3a93d0a4d8c87af28405dce50abdb064cf6aa882 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 8 Jun 2023 22:17:35 +0300 Subject: [PATCH] docs... Signed-off-by: Alex A. Naanou --- js-types-n-oop.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/js-types-n-oop.js b/js-types-n-oop.js index 247b109..cfe4562 100755 --- a/js-types-n-oop.js +++ b/js-types-n-oop.js @@ -110,16 +110,19 @@ [42] instanceof Object // -> true {} instanceof Object // -> true +// this essentially checks if the left oprtand is related to (i.e. in the +// inheritance chain of) the second operand's .prototypr, or we can say +// that it id "inherited" from the constructor. // Prototypes and inheritance // -// + // Constructors // -// + /**********************************************************************