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