例如:
function A(){} function B(){} B.prototype = new A();
如何检查B类是否继承A类?
javascript inheritance class
class ×1
inheritance ×1
javascript ×1