Take, for instance, the following object:
var fruits = {
"red" : "apple",
"blue" : "blueberry",
"yellow" : "banana"
}
I know I can use delete fruits["red"]
to remove it by the key name, but how could I delete the object item by the fruit name?