Continuation of this same thread:
I have declared new object as:
var myObject=new Object();
myObject.property1= something;
myObject.property2= something;
Now I want to create an array of myObject type.
var myObjectArray = new Array();
How do I create each array elements?
I tried as below , but seems to be having problem.
myObjectArray [0] = myObject;
myObjectArray [1] = myObject;
How we have to create each array elements? Do we need to say something like:
myObjectArray [0] = new (myObject)
Note that the class is not created using ODT. Object is directly created.