MCPcopy
hub / github.com/jquery/esprima / assertNotHasOwnProperty

Function assertNotHasOwnProperty

test/3rdparty/angular-1.2.5.js:1378–1382  ·  view source on GitHub ↗

* throw error if the name given is hasOwnProperty * @param {String} name the name to test * @param {String} context the context in which the name is used, such as module or directive

(name, context)

Source from the content-addressed store, hash-verified

1376 * @param {String} context the context in which the name is used, such as module or directive
1377 */
1378function assertNotHasOwnProperty(name, context) {
1379 if (name === 'hasOwnProperty') {
1380 throw ngMinErr('badname', "hasOwnProperty is not a valid {0} name", context);
1381 }
1382}
1383
1384/**
1385 * Return the value accessible from the object by path. Any undefined traversals are ignored

Callers 7

setupModuleLoaderFunction · 0.85
providerFunction · 0.85
constantFunction · 0.85
$CompileProviderFunction · 0.85
$ControllerProviderFunction · 0.85
FormControllerFunction · 0.85
angular-1.2.5.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…