Is there other way to reference grandParent object in javascript
<p>I have following code:</p>

<pre><code>var objectParent:{
     child1:{
       test1:function(){},
       test2:function(){}
      },

      child2:{
       demo1:function(){},
       demo2:function(){},
       parent:this  // gives child2
       grandparent: .... // need to reference objectParent here

      }

    }
</code></pre>

<p>We can reference object by using <strong>this</strong> keyword, But what for grand object or i mean parent of parent object?</p>

<p>Now, i am using <strong>grandparent:objectParent</strong> to reference parent object</p>

<p>Is there other way like <strong>this</strong> selector to reference parentObject?</p>

<p>Are these my coding is bad,good or better?</p>
