Call the parent's method?
<p>Call the parent method.How to implement?</p>

<pre><code> function Ch() {
        this.year = function (n) {
            return n
        }
    }

    function Pant() {
        this.name = 'Kelli';
        this.year = function (n) {
            return 5 + n
        }
    }
</code></pre>

<p>//extends</p>

<pre><code> Pant.prototype = new Ch();
    Pant.prototype.constructor = Pant;
    pant = new Pant();
    alert(pant.name); //Kelli
    alert(pant.year(5)) //10
</code></pre>

<p>How to сall the parent method </p>

<pre><code>this.year = function (n) {
            return 5 + n
        } 
</code></pre>

<p>in object?Thank you all for your help</p>
