how to update an element in array js code example Example: js array modify element people[0] = "Georgie";