lvfy 已经解决:obj["__proto__"].constructor.name。同上述类取名一样,取出来的为当前类的类型。或者obj.__proto__.constructor.name,但此用法编译报错,实际运行可行。