I have the following code:
var teste = 'objeto': {
version: '5.x.x',
name:this[??] // 'objeto'
};
What could be done so that the name
property has the same name as the object to which it belongs (which in this case is objeto
)?