var object={
firstString: 'You must register in order...',
secondString:'You must re-enter your password in order to...',
thirdString:'You must re-enter your password in order to...'
};
As you see second and third string are the same. Because this happens multiple times in the object I am using right now I want to link third object with the second one in order to save some bytes
I have tried the following but they don't work
var object={
firstString:'You must register in order...',
secondString:'You must re-enter your password in order to...',
thirdString:this.secondString
};
var object={
firstString:'You must register in order...',
secondString:'You must re-enter your password in order to...',
thirdString:object.secondString
};
Thank you