All Questions
1 question
0
votes
1
answer
379
views
Find number of times a property has a truthy value in a nested object
I have a nested object and I would like to calculate the number of times the property 'error'. I am able to go n levels deep and find the count. Is there a better solution than mine?
...