DEV Community

Discussion on: How to Get an Object Length

Collapse
 
samanthaming profile image
Samantha Ming

Yup that's great use case to use getOwnPropertyNames. I think the key is knowing what you want and picking the right tool for it. Thanks for sharing your use case! πŸ‘