I want to fetch all the keys for a matching value in javascript.
{
'aaa': 2,
'bbb': 7,
'ccc': 7
}
I want to fetch all the keys where the value is matching without running a loop.
For example: I am having value 7 and I want to get all the keys which are having value 7 i.e. 'bbb' and 'ccc'. Is there any way to do it?