updated docs...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-04-30 02:28:08 +03:00
parent 3d36d98602
commit 80ac1dd717

View File

@ -212,10 +212,10 @@ parent(<method>, <this>)
-> undefined
```
_Edge case: The `parent(<method>, ..)` 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._
_Edge case: The `parent(<method>, ..)` has one potential pitfall -- 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