MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / create

Function create

lib/web/jshint.js:10582–10588  ·  view source on GitHub ↗

* Creates an object that inherits from the given `prototype` object. If a * `properties` object is provided its own enumerable properties are assigned * to the created object. * * @static * @memberOf _ * @category Object * @param {Object} prototype The object to in

(prototype, properties, guard)

Source from the content-addressed store, hash-verified

10580 * // => true
10581 */
10582 function create(prototype, properties, guard) {
10583 var result = baseCreate(prototype);
10584 if (guard && isIterateeCall(prototype, properties, guard)) {
10585 properties = null;
10586 }
10587 return properties ? baseAssign(result, properties) : result;
10588 }
10589
10590 /**
10591 * Assigns own enumerable properties of source object(s) to the destination

Callers 5

jshint.jsFile · 0.85
createIteratorFunction · 0.85
polyfill.jsFile · 0.85
getCollectionFunction · 0.85
makeFunction · 0.85

Calls 1

isIterateeCallFunction · 0.85

Tested by

no test coverage detected