* 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)
| 2075 | * @param {String} context the context in which the name is used, such as module or directive |
| 2076 | */ |
| 2077 | function assertNotHasOwnProperty(name, context) { |
| 2078 | if (name === 'hasOwnProperty') { |
| 2079 | throw ngMinErr('badname', 'hasOwnProperty is not a valid {0} name', context); |
| 2080 | } |
| 2081 | } |
| 2082 | |
| 2083 | /** |
| 2084 | * Return the value accessible from the object by path. Any undefined traversals are ignored |
no outgoing calls
no test coverage detected