JavaScript Associate — Easy
Key points
- Object.keys() does not include inherited properties.
- It specifically focuses on property names, not values.
- The method is useful for iterating over an object's keys in a loop.
Ready to go further?
Related questions
