JS: How common is it to store data on a function object?

后端 未结 0 1386
庸人自扰
庸人自扰 2021-01-11 13:20

I\'m reading a guide that says function could/should store data at times since they are technically objects. If I have a function like below, is it bad practice to have a f

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