Any ways to short-up such chain call?
<p>Is there any ways to short-up such chain call?</p>

<pre><code>if (obj &amp;&amp; obj.prop &amp;&amp; obj.prop.subProp1 &amp;&amp; obj.prop.subProp1.subPropFunc) {
    obj.prop.subProp1.subPropFunc();
}
</code></pre>

<p>The only alternative I can imagine is <code>try-catch</code>. Any other ideas?<br>
*I really tired of writing these. It's much easier in <a href="/questions/tagged/coffeescript" class="post-tag" title="show questions tagged 'coffeescript'" rel="tag">coffeescript</a> using <code>?.</code>.</p>
