Output Array of Simultaneously Possible Unique Element Combinations
问题 My application references a database object that acts as a catalog. It's a catalog of items that can be crafted if the user has the necessary components. Here is a small sample of the catalog: const itemCatalog = { "bramble_vest" : { "components" : [ "Chain Vest", "Chain Vest" ], "name" : "Bramble Vest" }, "guardian_angel" : { "components" : [ "B.F. Sword", "Chain Vest" ], "name" : "Guardian Angel" }, "hextech_gunblade" : { "components" : [ "B.F. Sword", "Needlessly Large Rod" ], "name" :