Fast simply newbie question - it is possible to use object parameter in other object parameter (but it is the same object)?
var obj = {
a : 'a',
b : 'b',
ab : 'Our new parameter: ' + (obj.a + obj.b) + 'is presented!',
test : obj.ab
}
console.log(obj.ab);
So object is not ready when I call obj.ab - any idea how handle this? obj is global object now and rest of the code are using heavy of obj.ab - I don;t want to make significant changes, any simple idea?