* The base implementation of `assignValue` and `assignMergeValue` without * value checks. * * @private * @param {Object} object The object to modify. * @param {string} key The key of the property to assign. * @param {*} value The value to assign.
(object, key, value)
| 2595 | * @param {*} value The value to assign. |
| 2596 | */ |
| 2597 | function baseAssignValue(object, key, value) { |
| 2598 | if (key == '__proto__' && defineProperty) { |
| 2599 | defineProperty(object, key, { |
| 2600 | 'configurable': true, |
| 2601 | 'enumerable': true, |
| 2602 | 'value': value, |
| 2603 | 'writable': true |
| 2604 | }); |
| 2605 | } else { |
| 2606 | object[key] = value; |
| 2607 | } |
| 2608 | } |
| 2609 | |
| 2610 | /** |
| 2611 | * The base implementation of `_.at` without support for individual paths. |
no outgoing calls
no test coverage detected