JavaScript Professional — Easy
Key points
- `Object.values()` returns an array of values from an object.
- The values are in the same order as the properties.
- It does not return the keys or a nested array.
- Useful for accessing object values without knowing the keys.
Ready to go further?
Related questions
