I have object contain these data
{
'c':'d',
'd':'a',
'e':'f',
}
I am trying to use the array find() like this
let found = Object.entries(myobject).find(item => item['d'] == 'a');
but I get undefined for found value so how I should write this ?