paste negation
Regardless Object.keys and other methods: Properties from the prototype are taken into account. -> Properties from the prototype are NOT taken into account.
This commit is contained in:
parent
335131cd22
commit
083ba1c395
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ The answer is simple: it's not enumerable. Just like all other properties of `Ob
|
||||||
```smart header="Almost all other key/value-getting methods ignore inherited properties"
|
```smart header="Almost all other key/value-getting methods ignore inherited properties"
|
||||||
Almost all other key/value-getting methods, such as `Object.keys`, `Object.values` and so on ignore inherited properties.
|
Almost all other key/value-getting methods, such as `Object.keys`, `Object.values` and so on ignore inherited properties.
|
||||||
|
|
||||||
They only operate on the object itself. Properties from the prototype are taken into account.
|
They only operate on the object itself. Properties from the prototype are *not* taken into account.
|
||||||
```
|
```
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue