title: How to handle nested property in object when object is undefined?
body: <p>Usually my object is full but sometimes it doesnt return all the needed properties or it returns but as null. How do I handle the nested property when the object is undefined? </p>
  
  <p>My JS code is: <code>typeof property.inside !== 'undefined' ? property.inside : null;</code></p>
  
  <p>but this just returns 
  <code>Uncaught ReferenceError: property is not defined
      at &lt;anonymous&gt;:1:1</code> 
  instead of <code>null</code></p>