docs: function parseInheritance(js) {
    return js
      .replace(/^ *(\w+)\.prototype\.__proto__ * = *(\w+)\.prototype *;?/gm, function(_, child, parent){
        return 'function F(){};\n'
          + 'F.prototype = ' + parent + '.prototype;\n'
          + child + '.prototype = new F;\n'
          + child + '.prototype.constructor = '+ child + ';\n';
      });
  }