JavaScript Associate — Easy
Key points
- `Object.keys()` does not return values, only property names.
- It specifically targets the object's own properties, not all properties including inherited ones.
- This method is useful for iterating over an object's keys in JavaScript.
Ready to go further?
Related questions
