参考回答:
function A(...) {} A.prototype...function B(...) {} B.prototype...A.prototype = Object.create(B.prototype);// 再在A的构造函数里new B(props);

参考回答:
function A(...) {} A.prototype...function B(...) {} B.prototype...A.prototype = Object.create(B.prototype);// 再在A的构造函数里new B(props);