mirror of
https://github.com/flynx/object.js.git
synced 2025-10-30 11:00:08 +00:00
updated docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
64d3de1fd2
commit
3d36d98602
@ -212,11 +212,10 @@ parent(<method>, <this>)
|
|||||||
-> undefined
|
-> undefined
|
||||||
```
|
```
|
||||||
|
|
||||||
_Edge case: The `parent(<method>, ..)` has one flaw -- it can't distinguish
|
_Edge case: The `parent(<method>, ..)` has one flaw -- in the rare case
|
||||||
between two references to the same method in a chain and will always
|
where a prototype chain contains two or more references to the same
|
||||||
return the first, so the first case is preferable. This issue can't be
|
method under the same name, `parent(..)` can't distinguish between these
|
||||||
resolved as this case has no information on the prototype containing the
|
references and will always return the first one._
|
||||||
reference, but these cases should not be very common._
|
|
||||||
|
|
||||||
|
|
||||||
Get parent method and call it
|
Get parent method and call it
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user