title: Why does this function return 0
body: <p>I am trying to figure out why this javascript function returns <code>0</code> when <code>this.position.startOffset</code> value is <code>0</code> but not when the value is a number other than <code>0</code>.</p>
  
  <pre><code>ready: function() {
      return (this.position.startOffset
              &amp;&amp; this.position.endOffset
              &amp;&amp; this.position.representation.trim().length &gt;= 0
              &amp;&amp; this.text.id
              &amp;&amp; this.user.id
              &amp;&amp; this.concept);
  }
  </code></pre>