How to check if a Javascript Class inherits another (without creating an obj)?

Try the following:

ChildClass.prototype instanceof ParentClass

You can test direct inheritance with

B.prototype.constructor === A

To test indirect inheritance, you may use:

B.prototype instanceof A

(this second solution was first given by Nirvana Tikku)