JS - Auto Change Inheriting Classes

前端 未结 0 1826
春和景丽
春和景丽 2020-12-07 02:33

Is there a way in JS to automatically change the inheriting classes\'s constructors?

For example, lets say there\'s a class Item and it takes attributes

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