Create an array using the Object() constructor in JavaScript

var myArray = Object();
    myArray.length=3;   //array position zero
    myArray[1]="A";
    myArray[2]="B";
    myArray[3]="C";

    document.write("The myArray holds:  ");

    for(x=1; x<=myArray.length; x++) {
      document.write(myArray[x],"  ");
    }