javascript calling function inside another mystery
<pre><code>function Obj1(param)
{
    this.test1 = param || 1;
}

function Obj2(param, par)
{
    this.test2 = param;
    this.ob = Obj1;
    this.ob(par);
}
</code></pre>

<p>now why if I do:</p>

<pre><code>alert(new Obj2(44,55).test1);
</code></pre>

<p>the output is 55? how can 'view' test1 an Obj2 istance if I haven't
link both via prototype chain?</p>

<p>Thanks</p>
