title: How to get a key in a JavaScript object by its value?
body: <p>I have a quite simple JavaScript object, which I use as an associative array. Is there a simple function allowing me to get the key for a value, or do I have to iterate the object and find it out manually?</p>