title: Initialize object property with use other properties of same object
body: <p>I am newbie in JS. And my question is: How I can pretty initialize object property with use other properties of same object.</p>
  
  <p>Example:</p>
  
  <pre><code>var obj = {
    par1 : 2*2,
    par2 : this.par1
  };
  </code></pre>
  
  <p>Thanks.</p>