mirror of
https://github.com/flynx/object.js.git
synced 2025-10-29 10:30: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
|
||||
```
|
||||
|
||||
_Edge case: The `parent(<method>, ..)` 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(<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._
|
||||
|
||||
|
||||
Get parent method and call it
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user