code: function inherits(ctor, superCtor) {
    ctor.super_ = superCtor;
    var TempCtor = function() {};
    TempCtor.prototype = superCtor.prototype;
    ctor.prototype = new TempCtor();
    ctor.prototype.constructor = ctor;
  }
docs: Make ctor a subclass of superCtor. Do not depend on ES5 Object.create semantics because of older browsers.