how to change contents of array at one go in javascript code example Example: js array modify element people[0] = "Georgie";