array.map((employee) => Object.assign({ }, employee))
workers = workers.map(employee =>
employee.occupation == "Iron Man" ? (employee.occupation = "Philantropist", employee) : (employee.occupation, employee)
);
element.baz = condition ? foo : bar;