this.firstName = false;
this.troubled = false;
this.syllables = new Array();
this.folders = new Array();
this.AddToURL = AddToURL;
var SylCount = this.syllables.length; //At this point SylCount is reported as being undefined.
this.syllables[SylCount] = TheWord; // So of course, this does not work either.
var URLAddress = new URLObject();
I expected building objects to be advanced, but straightforward. I have researched the pubs and there is noting in them that suggests I cannot create arrays within objects. So why can't I get a length from my syllables array in my URLAddress object?
Works fine for me... I added this line at the end of the code:
and it returned 0.