title: How to check if a Javascript Class inherits another (without creating an obj)?
body: <p>Eg:</p>
  
  <pre><code>function A(){}
  function B(){}
  B.prototype = new A();
  </code></pre>
  
  <p>How can I check if the class B inherits class A?</p>