I have an object as :
var myObj = {called: false, invited: true, interviewed: false, offer: false}
How can I find the first value that is true and then return the corresponding key ?
I want to create a function that, given an object that is always the same structure, returns me the key of the first true value.