Is it inefficient to initialize a variable multiple times rather than reassigning one?

前端 未结 0 1478
花落未央
花落未央 2020-12-03 02:35

I\'m building an app where I have to loop over an array of objects and for each one I\'m calling a helper function.

In that helper function I need to pass a variable

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