I have an object with name-value pairs. How can I target and remove specific name-value pair if all I have is the value?
{
1: 'foo',
2: 'boo',
3: 'goo',
4: 'moo'
}
Please note this is important - all i have is 'boo', and possibility is that this value will change the number in the future. I need to target the exact string.