I Think there is no need to update anything if you're finding record on matching attributes.
However if you want to update existing record, you can use findIndex method to find index of that matched record and then update the value of object at that index as below:
...
var matched_index = updatingData.findIndex(x => x.Job == job && x.TaskID);
//findIndex method returns index on matching and -1 if not match.
if ( matched_index !== -1)) {
// Update record here with matched_index
updatingData[matched_index].job = // whatever
updatingData[matched_index].actualFinish = // whatever
updatingData[matched_index].task = // whatever
console.log("Record is updated");
}
else {
updatingData.push({ Job: job, TaskID: task, Date1: actualFinish });
}
...
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…