使用ES6class语法,我想知道当有多个继承链时,为什么instanceof运算符对继承链不起作用?(optionalread)Howinstanceofoperatorworks?InobjinstanceofConstructor,theinstanceofoperatorchecksifthe'prototype'propertyoftheConstructorfunctionispresentintheprototypechainoftheobj.Ifitispresent,returntrue.Otherwise,false.在下面的代码片段中,BTError继承自Erro