Is it possible to assign a value to an object property using a property of the current object being decalred?
var myObject = new Object({
a: 1,
b: 2,
c: this.a + this.b // is this possible ? ( or even myObject.a + myObject.c)
});
I know I could just declare it as below but is it possible as above?
myObject.c = myObject.a + myObject + b;