do you need a constructor method in es6 classes

前端 未结 0 1891
暖寄归人
暖寄归人 2020-12-22 10:57

if I don\'t include a constructor method inside a class definition, is it implicitly created? Do I need to include one in es6? ex:

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