JavaScript - using named constructors

前端 未结 0 508
Happy的楠姐
Happy的楠姐 2021-01-19 10:29

I have been using dart OOP a lot lately and there we used to have named constructors like DateTime.now().

How do we use the same functionality in JavaScr

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