From 3d36d986028af26bcb8375a5a3e20f8a88e1e1ec Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 30 Apr 2020 02:26:47 +0300 Subject: [PATCH] updated docs... Signed-off-by: Alex A. Naanou --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fa66e8e..2a84b53 100755 --- a/README.md +++ b/README.md @@ -212,11 +212,10 @@ parent(, ) -> undefined ``` -_Edge case: The `parent(, ..)` has one flaw -- it can't distinguish -between two references to the same method in a chain and will always -return the first, so the first case is preferable. This issue can't be -resolved as this case has no information on the prototype containing the -reference, but these cases should not be very common._ +_Edge case: The `parent(, ..)` has one flaw -- in the rare case +where a prototype chain contains two or more references to the same +method under the same name, `parent(..)` can't distinguish between these +references and will always return the first one._ Get parent method and call it