var $array = {
    "firstVar" : 1,
    "secondVar" : this.firstVar + 1
};
console.log($array.firstVar); //1
console.log($array.secondVar); //NaN
How can i get access to array value from the another value of the same array?
var $array = {
    "firstVar" : 1,
    "secondVar" : this.firstVar + 1
};
console.log($array.firstVar); //1
console.log($array.secondVar); //NaN
How can i get access to array value from the another value of the same array?
