I have two javascript objects like below
first = {b : ["A" , "B"] , c : ["C" , "D"] , d : ["Z"]}
second = {b : ["E" , "F"] , c : ["X"]}
I want result like this
result = {b : ["A" , "B" , "E" , "F"] , c : ["C" , "D" ,"X"] , d :["Z"]}
I was playing around npm lodash but could not find a way to do it. Can some body help. I am new to Javascript world.