const arrayObj = [ { id: 123, country: "IND", value: "", }, { id: 153, country: "AUS", value: "", }, { id: 183, country: "FRA", value: "", }, ]; const value = [100, 200, 300]; const result = arrayObj.map((item, index) => ({...item, value: value[index]})); console.log(result); // If you don't want to create new array, you can use forEach arrayObj.forEach((item, index) => { item.value = substr(value[index], 1); }); Run code snippetHide results