I have an object in angular 5, like this one:
public obj1 = {
A: 5,
B: false,
C: 'c'
};
And another one:
public obj2 = {
A: 10,
E: true,
D: 'd'
};
How can I merge these two object, or delete one of these object properties ?
I need to do Map
operations over this simple object.
Update:
I need a way, if there is, to cast this simple object into a Map
.