code: function inherits(subClass, superClass) {
      /* jshint -W054 */
      var subClassProto = subClass.prototype;
      var F = new Function();
      F.prototype = superClass.prototype;
      subClass.prototype = new F();
      subClass.prototype.constructor = subClass;
      extend(subClass.prototype, subClassProto);
      /* jshint +W054 */
  }
docs: 构建类之间的继承关系
  
  @param {Function} subClass 子类函数
  @param {Function} superClass 父类函数