title: How to handle empty object in if statement as false?
body: <p>I ran across this case today</p>
  
  <pre><code>if ({}) {
    // This is returned as empty object is true
  }
  </code></pre>
  
  <p>therefore need to figure out a way where <code>{}</code> is false, tried calling <code>.length</code> on an object I pass to the if statement, but that doesn't work.</p>