Javascript access parent properties
<p>How can I get parent options?</p>

<p>I would like to access a global myObject options</p>

<pre><code>var myObject = {    
  method: function(){
    this.options = {};
  },      
  property: {    
    propertyMethod: function(){
       alert(this.options);
    }     
  }    
}    
myObject.method();
myObject.property.propertyMethod();
</code></pre>
