ES6/[removed] How to do an efficient loop to create json objects in array?

后端 未结 0 1522
攒了一身酷
攒了一身酷 2020-12-16 14:40

I want to create a loop which is going to push this a number of times in an array.

{ width: 30 },
{ width: 30 },
{ width: 12 },

and after ite

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