stackoverflow.com/questions/35948669/how-to-check-if-a-value-exists-in-an-object-using-javascript How to check if a value exists in an object using JavaScript I have an object in JavaScript: var obj = { "a": "test1", "b": "test2" } How do I check that test1 exists in the object as a value? stackoverflow.com