Error with JavaScript Constructors Under Various Formats
<p>I have an issue with code in the following format:</p>

<pre><code>Test = {
    baseConstructor: function( a, b ) {
        this.a = a;
        this.b = b;        
    },
    object: new Test.baseConstructor( x, y )
};
</code></pre>

<p>I get an error saying that this.baseConstructor is not a constructor. So what would I do in this case? I know I could reformat it without using the Test = {} style but is there a way to do it in this format.</p>
