Merge pull request #103 from Cool-Guy1999/patch-1

Removed empty code block
This commit is contained in:
Ilya Kantor 2017-07-23 11:29:50 +02:00 committed by GitHub
commit 0962a277b4

View file

@ -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.
```