Possible Duplicate:
Self-references in object literal declarations
Is there any way access the value of a property name in the same object literal? Something like this:
myFunction.init({
varOne: 'something',
varTwo: this.varOne + 'something else'
})