How to assign multiple properties in Javascript class with less code?

前端 未结 0 459
暗喜
暗喜 2021-01-07 09:18

I\'ve tried the basic use of this. However, despite being natural coming from OOP I still found it verbose. Imagine that I had 1000 properties: I\'d be in trouble.

         


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