I have two arrays and what I need to do is combine them and give me the result array. However I have tried everything I could and still have not been able to, I was trying with the information on this link but still it has not given me
const ap_procedures = [
{num_document: "39553466"},
{num_document: "39559282"},
{num_document: "39553466"},
];
const us_users = [
{num_document: "39553466", errors: "lorem ipsun #1"},
{num_document: "39559282", errors: "lorem ipsun #2"},
];
const result = [
{num_document: "39553466", errors: "lorem ipsun #1"},
{num_document: "39559282", errors: "lorem ipsun #2"},
{num_document: "39553466", errors: "lorem ipsun #1"},
];