want to use array key in array of object as new property javascript

前端 未结 0 1468
耶瑟儿~
耶瑟儿~ 2020-12-04 12:45

I want to use array key in array of object as new property javascript but which method is best for it

I have

data =[{
    itemA: 3,
    itemB: 5,
    i         


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