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