MCPcopy
hub / github.com/Postcatlab/postcat / createMap

Function createMap

src/workbench/browser/src/ng1/lib/angular/angular.js:2278–2280  ·  view source on GitHub ↗

* Creates a new object without a prototype. This object is useful for lookup without having to * guard against prototypically inherited properties via hasOwnProperty. * * Related micro-benchmarks: * - http://jsperf.com/object-create2 * - http://jsperf.com/proto-map-lookup/2

()

Source from the content-addressed store, hash-verified

2276 * @returns {Object}
2277 */
2278 function createMap() {
2279 return Object.create(null);
2280 }
2281
2282 function stringify(value) {
2283 if (value == null) { // null || undefined

Callers 14

equalsFunction · 0.85
createInjectorFunction · 0.85
splitClassesFunction · 0.85
cacheFactoryFunction · 0.85
$CompileProviderFunction · 0.85
parseIsolateBindingsFunction · 0.85
createBoundTranscludeFnFunction · 0.85
applyDirectivesToNodeFunction · 0.85
setupControllersFunction · 0.85
parseHeadersFunction · 0.85
angular.jsFile · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected