updated docs...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-05-23 16:56:39 +03:00
parent 6759028262
commit cbb995c4d0
2 changed files with 31 additions and 1 deletions

View File

@ -470,6 +470,36 @@ callback(<source>)
```
### `values(..)`
Get values for attribute in prototype chain
```
values(<object>, <name>)
values(<object>, <name>, <callback>)
-> <list>
```
```
callback(<value>, <source>)
-> 'stop' | false
-> undefined
```
Get property descriptors for attribute in prototype chain
```
values(<object>, <name>, true)
values(<object>, <name>, <callback>, true)
-> <list>
```
```
callback(<descriptor>, <source>)
-> 'stop' | false
-> undefined
```
### `parent(..)`
Get parent attribute value or method

View File

@ -1,6 +1,6 @@
{
"name": "ig-object",
"version": "4.0.3",
"version": "4.0.4",
"description": "",
"main": "object.js",
"scripts": {