I have the following Javascript object:-
var attributes = {
  entityData: {
    Party: 12
  },
  entityType: "Party"
};
Now I want to fetch dynamically the Party property value something like below. How can I do this?
alert(attributes.entityData.{attributes.entityType});
 
     
     
    