JavaScript function from class extension not recognized

后端 未结 0 611
鱼传尺愫
鱼传尺愫 2020-12-13 05:25

I\'m playing around with classes ES6 and encountered behaviour with below code.

Error I\'m getting is bob.personName is not a function.

Both class

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