From 2b734818f8b92de37d37faa6662f5d6f2f70d26b Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 4 Sep 2017 17:26:33 +0300 Subject: [PATCH] minor tweaks... Signed-off-by: Alex A. Naanou --- js-oop.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js-oop.js b/js-oop.js index f418321..829ff65 100755 --- a/js-oop.js +++ b/js-oop.js @@ -31,15 +31,15 @@ b.z // -> 3 // What we see is that if the attribute is not found in the current -// object it resolves to the next object, and so on, this next object is +// object the next object is checked, and so on, this next object is // called "prototype". // These prototype chains can be of any length. // Cycles in prototype chains are not allowed, see note further down for // an example. // -// Note that this works for reading attributes, but when writing or -// deleting we are affecting ONLY the local object and attributes -// explicitly defined in it, or its' "own" attributes. +// Note that this works for reading (and mutating) attributes, but when +// writing or deleting we are affecting ONLY the local object and +// attributes explicitly defined in it, or its' "own" attributes. b.x = 321 b.x // -> 321