JS: Using apply rather than call with prototypal inheritance

前端 未结 0 963
醉梦人生
醉梦人生 2021-02-04 00:40

If I am inheriting the properties of Person below, how could I do this without passing in individual properties using apply. Wouldn\'t Person have to be changed to

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