So I have 2 objects:
Object A
{
    key1 : 'key1',
    key2 : 'key2'
}
Object B
{
    key1 : 'override a'
}
And I want to merge them like this:
result
{
    key1 : 'override a',
    key2 : 'key2'
}
Has anybody got a suggestion how to do this in TypeScript (or plain JS)
 
     
     
     
     
    