js array modify element

JavaScript
let newArray = oldArray.map(funcToEachElem);people[0] = "Georgie";
Source

Also in JavaScript: