DEV Community

loading...

Discussion on: How to Get an Object Length

Collapse
samanthaming profile image
Samantha Ming Author

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! 👍