Merge pull request #103 from Cool-Guy1999/patch-1
Removed empty code block
This commit is contained in:
commit
0962a277b4
1 changed files with 0 additions and 1 deletions
|
@ -68,4 +68,3 @@ for(let value of Object.values(user)) {
|
||||||
Just like a `for..in` loop, these methods ignore properties that use `Symbol(...)` as keys.
|
Just like a `for..in` loop, these methods ignore properties that use `Symbol(...)` as keys.
|
||||||
|
|
||||||
Usually that's convenient. But if we want symbolic keys too, then there's a separate method [Object.getOwnPropertySymbols](mdn:js/Object/getOwnPropertySymbols) that returns an array of only symbolic keys. Also, the method [Reflect.ownKeys(obj)](mdn:js/Reflect/ownKeys) returns *all* keys.
|
Usually that's convenient. But if we want symbolic keys too, then there's a separate method [Object.getOwnPropertySymbols](mdn:js/Object/getOwnPropertySymbols) that returns an array of only symbolic keys. Also, the method [Reflect.ownKeys(obj)](mdn:js/Reflect/ownKeys) returns *all* keys.
|
||||||
```
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue