title: How to delete a javascript object item by value?
body: <p>Take, for instance, the following object:</p>
  
  <pre><code>var fruits = {
      "red" : "apple",
      "blue" : "blueberry",
      "yellow" : "banana"
  }
  </code></pre>
  
  <p>I know I can use <code>delete fruits["red"]</code> to remove it by the key name, but how could I delete the object item by the fruit name?</p>