Hi i am new to react and javascript

I have two set of objects

set1

```
const set1 = {
  men: { value: "men", label: "Men", type: "select" },
  women: { value: "women", label: "Women", type: "select" },
  kids: { value: "kids", label: "Kids", type: "select" },
};

```

and set2

```
const set2 = {
  men: { code: "men", title: "Men" },
  women: { code: "men", title: "Men" },
};

```

I want to compare both the set of object and if key is same i want to get the result as new object

```
const resultobj = {
  men: { value: "men", label: "Men", type: "select" },
  women: { value: "women", label: "Women", type: "select" },
};

```

And i want to display label from result obj in a div using jsx exmaple

```
return <div>{resultobj.label}</div>;

```