title: Accessing variable inside object property
body: <p>So I encountered a problem. I have this object called <code>myTree</code>. And that object has properties. One of the properties contains a method like this:</p>
  
  <pre><code>prep: function (variable) {
      /* some code */
  }
  </code></pre>
  
  <p>In that method there is an array <code>myarray</code> and I want to know, whether it is possible to access the content of that array, and if it is, how I would do that. </p>
  
  <p>I've made a demo on jsFiddle, and in the end of the JavaScript window you can see that I'm alerting the object <code>prep</code> in which <code>myarray</code> is contained.</p>
  
  <p><a href="http://jsfiddle.net/Wp7Xh/1/" rel="noreferrer">http://jsfiddle.net/Wp7Xh/1/</a></p>