* 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)
| 1529 | * @param {String} context the context in which the name is used, such as module or directive |
| 1530 | */ |
| 1531 | function assertNotHasOwnProperty(name, context) { |
| 1532 | if (name === 'hasOwnProperty') { |
| 1533 | throw ngMinErr('badname', "hasOwnProperty is not a valid {0} name", context); |
| 1534 | } |
| 1535 | } |
| 1536 | |
| 1537 | /** |
| 1538 | * Return the value accessible from the object by path. Any undefined traversals are ignored |
no outgoing calls
no test coverage detected