Must call super constructor in derived class before accessing or returning from derived const
源代码:<script> class Father { constructor() { } say() { console.log('this is father'); } } class Son extends Father { constructor() { } say() { console.log('
原创
2020-06-03 18:16:30 ·
3107 阅读 ·
0 评论