I have created the following jsfiddle which highlights my problem. http://jsfiddle.net/UTG7U/
var ExampleObject = function() {
   var myArray = new Array();
   this.example = function() {
       alert(this.myArray);
   };
}
var exampleObj = new ExampleObject();
exampleObj.example();
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.
 
     
     
     
     
     
     
    