Fix an invalid comment in 08_day_Objects.md

In Getting object keys using Object.keys() part, the comment showed a wrong outcome. It's been fixed.
pull/302/head
Joseph Bak 4 years ago committed by GitHub
parent a22baede03
commit 0c5a42e2d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -391,7 +391,7 @@ _Object.keys_: To get the keys or properties of an object as an array
```js
const keys = Object.keys(copyPerson)
console.log(keys) //['name', 'age', 'country', 'skills', 'address', 'getPersonInfo']
console.log(keys) //['firstName', 'age', 'country', 'city', 'skills', 'title', 'address', 'getPersonInfo']
const address = Object.keys(copyPerson.address)
console.log(address) //['street', 'pobox', 'city']
```

Loading…
Cancel
Save