* 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)
| 2107 | * @param {String} context the context in which the name is used, such as module or directive |
| 2108 | */ |
| 2109 | function assertNotHasOwnProperty(name, context) { |
| 2110 | if (name === 'hasOwnProperty') { |
| 2111 | throw ngMinErr('badname', 'hasOwnProperty is not a valid {0} name', context); |
| 2112 | } |
| 2113 | } |
| 2114 | |
| 2115 | /** |
| 2116 | * Return the value accessible from the object by path. Any undefined traversals are ignored |
no outgoing calls
no test coverage detected