docs: function inherit(child, base, properties) {
    var baseP = base.prototype;
    var childP;
  
    childP = child.prototype = Object.create(baseP);
    childP.constructor = child;
    childP.superior = baseP;
  
    if (properties) {
      extend(childP, properties);
    }
  }