Need help understanding: Filtering an array of objects in Javascript

530 Views

I am still trying to wrap my head around filtering an array of objects in Javascript; spent a couple of hours figuring this out. I have this array of objects being returned to me from my backend. Inside each object, there is a key that has an array of objects as its value.