INNER CODE UNIT · JavaScript

F

mongoosejs/mquery · lib/utils.js:274

  function F() { }
  F.prototype = proto;
  return new F;
}

/**
 * inheritance
 */

exports.inherits = function(ctor, superCtor) {
  ctor.prototype = exports.create(superCtor.prototype);
  ctor.prototype.constructor = ctor;
};

/**
 * Check if this object is an arguments object
 *
 * @param {Any} v

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…