Let's say I have this data set as
let data = {
1: ['item1', '3435'],
32: ['item2', '5465'],
16: ['item3', '6577']
}
Now I want to find the key which contains the number "3435". For this, I could not find out a way to iterate over objects. Is there any way to find a match without using iteration?
findKey(3534) // should return "1"
findKey(6577) // should return "16"