I have below array which is present inside an object and need to update only index 0 from "ABC" to "XYZ".
const input = { arr: ["ABC&quo