How to update specific index of array which is present inside JavaScript Object?

后端 未结 0 517
无人及你
无人及你 2021-01-22 21:44

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         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题