Is there a downside to using closures over prototypes?

前端 未结 0 469
庸人自扰
庸人自扰 2021-02-03 20:34

I like the general style of using closures to create objects with private properties. What I\'m unsure of is whether it\'s more efficient to create the prototype methods within

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