How can I reference the parent of a prototype?
<p>I have a javascript question so basic I can't even craft a proper Google query to answer it. By way of example:</p>

<pre><code>function Parent(name){
  this.name = name;
}

Parent.prototype.Child() = function (){
  if(this.name == 'Sam'){ // This is the comparison that obviously doesn't work
    /* Do something */
  } else {
   /* Do something else */
  }
}

var Parent1 = new Parent('Sam');
var Child1 = new Parent1.Child();
</code></pre>

<p>Is there a keyword that could be used in place of the this in the comparison to access Parent's "name" property?</p>

<p>Cheers!</p>
