How to pick only one object from the lish that has data and ignore the rest

Hi guys,
It's me again. I'm checking if objects containg value with Object.keys like below:

Object.keys(obj).length
Code (markup):

It would return the list like this:

0
0
0
3
0
0
Code (markup):

The list is unordered […]

See original post by invalid@example.com (ketting00)

Leave a Reply