好吧,忘掉更新某些数组值的旧的和丑陋的方法吧。 const people = ["Kristiyan","Emiliyan", "Sally"]; people[2] = "Simon"; Result