I need to access Javascript object property if and if only that property is available.
object.property.anotherInnerProperty ="value"
To access and check above value we normally use following way
if(object && object.property && object.property.anotherInnerProperty=="value")
   then do this
Is there any effective and less code method to access object.property.anotherInnerProperty ?
 
     
    