How do you have the constructor run one of its own methods without calling it  directly (since JS doesn't have the initialize method built it - or does it?)?

Sent from my iPhone

On Sep 26, 2013, at 7:33 PM, Zee <notifications@github.com> wrote:

> In public/game.js:
> 
> >    var that = this;
> >    this.start = function(){
> > -    gameWords = new ShiftWords
> > -    gameWords.initialize(textStorage());
> > +    stringHandler = new StringHandler()
> > +    stringHandler.initialize();
> Why is there an initialize function? Normally the constructor function (in this case, StringHandler) should do all the work of initializing the new object.
> 
> —
> Reply to this email directly or view it on GitHub.