All these three objects have the exact same property and values. Is there any way to simplify the code and make it shorter?
const MyMap = {
'myObject': {
propone: 'One',
proptwo: 'Two',
propthree: 'Three'
},
'yourObject': {
propone: 'One',
proptwo: 'Two',
propthree: 'Three'
},
'hisObject': {
propone: 'One',
proptwo: 'Two',
propthree: 'Three'
}
};