Questions tagged [fibery]
1 questions
1
vote
3 answers
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…

Ooker
- 1,969
- 4
- 28
- 58