What is alternative before ES6 of getter method existing in ES6
<p>Getter method in ES6 is defined as METHOD &amp; called as ATTRIBUTE  (calling <code>obj.method</code> instead of <code>obj.method(..)</code>) </p>

<p>Example :</p>

<pre><code>class Job  {
    constructor(){
        this.start=new Date();
    }

    get age(){
        return new Date()-this.start;
    }
}
</code></pre>

<p>then: </p>

<pre><code>var vm=new Job();
//....
vm.age // call Getter method  
</code></pre>

<p>My question is: What is the alternative to that before ES6, if any?</p>