I have an object in JavaScript:
var obj = { "a": "test1", "b": "test2" }
How do I check that te
Shortest ES6+ one liner:
let exists = Object.values(obj).includes("test1");