how does an object knows about its parent in javascript
<p>Lets suppose I made a class called Person.</p>

<pre><code>var Person = function(fname){this.fname = fname;};
</code></pre>

<p>pObj is the object I made from this class.</p>

<pre><code>var pObj = new Person('top');
</code></pre>

<p>now I add one property to Person class, say lname.</p>

<pre><code>Person.prototype.lname = "Thomsom";
</code></pre>

<p>now pObj.lname gets me "Thomson".</p>

<p>My question is that, when pObj didn't find the property lname in it, how does it know where to look for.</p>
