Javascript – An object whose values are arrays, whose elements may be objects. How to get the key of a value as deep as possible?
For a simple object: const simpleObject = { "a": "aaa" , "b": "bbb" , }; I know how to get the key of a value: Object.keys(simpleObject).find(key => simpleObject[key] === "aaa"); However, if I have a complex object like this: const…