title: Access JavaScript Object Literal value in same object
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4616202/self-references-in-object-literal-declarations">Self-references in object literal declarations</a>  </p>
  </blockquote>
  
  
  
  <p>Is there any way access the value of a property name in the same object literal? Something like this:</p>
  
  <pre><code>myFunction.init({
      varOne: 'something',
      varTwo: this.varOne + 'something else'
  })
  </code></pre>