Is it good pratice to add closure inside constructor?

前端 未结 0 621
独厮守ぢ
独厮守ぢ 2021-01-06 07:51

I have added closure inside the constructor and unsure of its performance as well as best practice. What is the best way to do that if it is not the right way to do it?

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