Passing an array as a parameter of a function inside a for loop

前端 未结 0 680
野趣味
野趣味 2021-02-01 14:47

I am trying to pass an array of objects in a onclick function inside a for loop. The scope of the array is inside the for loop only, So I cannot do like this. A sample of my cod

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