Understanding javascript Objects
<p>I have what is I believe an extremely basic javascript question that for some silly reason I am struggling with.</p>

<p>If you visualise the object below.  How would I call one function from inside the 'init' function?</p>

<pre><code>TC.design = {

        init : function(){
            //How would I run the loadPage function here? 
        },
        loadPage : function(){

        }
}
</code></pre>

<p>I have tried this.loadPage(); which I expected to work but it returns undefined.</p>

<p>I am clearly not grasping something fundamental here, hopefully someone can explain.</p>

<p><strong>EDIT:</strong>  This is now solved...</p>

<p>Thanks to <strong>Joseph Silber</strong> and <strong>Rocket</strong> I have realised my error...</p>

<p>The problem arose due to a misunderstanding of the javascript .call() function.  I was calling <code>init</code> with <code>TC.design.init.call()</code> which I now understand is incorrect.  My apologies....</p>
