Javascript – Check if all object in array is greater than x number
I have an array of objects representing sales data for different cities. Each city has an array of rooms with corresponding counts. I want to check if all cities have a count of at least three for rooms 2, 3,…