javascript prototype inheritance?
<pre><code>var pluginProto = m[0].prototype;
var cnds = pluginProto.cnds;
if (position_aces)
{
    cnds.CompareX = function (cmp, x)
    {
        return cr.do_cmp(this.x, cmp, x);
    };
}
</code></pre>

<p>I thought above code should inherit thier values in a reverse way  <br/><br/>
(define var cnds -> var pluginProto.cnds = cnd -> m[0]prototype = pluginProto) <br/><br/>
and I am still wondering how above code can inherit thier values to m[0]prototype without any problem. <br/><br/>
what am I missing about prototype inheritance? is prototype can reference any values without <br/></p>

<p>limitation of when the value created?</p>
