Eg:
function A(){} function B(){} B.prototype = new A();
How can I check if the class B inherits class A?
back to 2017: check if that work for you
ParentClass.isPrototypeOf(ChildClass)