I have two JavaScript objects
a =  {"aa" : "foo"}
b = {"b" : "bar"}
I want to concat both and want to get this result
result =  {"aa" : "foo" , "b" :"bar"}
what is the simplest way to do this in plain javascript. I am not using any external libraries like jquery or underscore.
 
     
     
     
     
    