title: Does JavaScript have something similar to the null propagating operating in C#?
body: <p>I have a lot of pieces of JavaScript like </p>
  
  <pre><code> if(myobject != undefined &amp;&amp; myobject.someprop == something)
  </code></pre>
  
  <p>and I'm wondering if there exists syntax to make this more compact (even if it's a "hack" of some sort). </p>