* The base implementation of `_.propertyOf` without support for deep paths. * * @private * @param {Object} object The object to query. * @returns {Function} Returns the new accessor function.
(object)
| 904 | * @returns {Function} Returns the new accessor function. |
| 905 | */ |
| 906 | function basePropertyOf(object) { |
| 907 | return function(key) { |
| 908 | return object == null ? undefined : object[key]; |
| 909 | }; |
| 910 | } |
| 911 | |
| 912 | /** |
| 913 | * The base implementation of `_.reduce` and `_.reduceRight`, without support |