Initialising an array of objects with the index as key

前端 未结 0 711
滥情空心
滥情空心 2021-01-19 05:11

I\'m trying to find out how to initialise an array of objects, where each object has the index (i) as its key and 0 as its value. The code below is not working as expected b

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