create a new object w/ unique IDs and specific indeces

后端 未结 0 826
独厮守ぢ
独厮守ぢ 2020-12-17 21:42

I want a clean way to create a new object from the given data:

const groups = [1, 2, null, 1, 1, null]

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