var arr1 = [{name: "lang", age: "23"},{name:"shen", "age" : "18"}];
var arr2 = [{name : "shen Fajarda", status: "married"}];
How to merge this 2 arrays by name though the name in arr1 has the name shen while the arr2 has the whole name shen Fajarda.
This the output that i need,
var arr3 = [{name: "lang", age: "23"},{name:"shen", age : "18",status:"married"}];