title: Inner function cannot access outer functions variable
body: <p>I have created the following jsfiddle which highlights my problem. 
  <a href="http://jsfiddle.net/UTG7U/" rel="noreferrer">http://jsfiddle.net/UTG7U/</a></p>
  
  <pre><code>var ExampleObject = function() {
     var myArray = new Array();
     this.example = function() {
         alert(this.myArray);
     };
  }
  
  var exampleObj = new ExampleObject();
  exampleObj.example();​
  </code></pre>
  
  <p>I am new to JavaScript and trying to create an object, field and a method. 
  I can't get my method to access my field variable.</p>