var ok = {
makeScreens: function () {
this.screens = {
x: 2,
y: this.x * 10;
};
}
}
I want to initialize the this.screens variable, but I can't refer to x when I'm initializing y . Can someone tell me, how to refer to the this.screens.x? Thank you very much.