* Iterates over an object's own properties, executing the `callback` for each. * * @private * @param {Object} object The object to iterate over. * @param {Function} callback The function executed per own property.
(object, callback)
| 163 | * @param {Function} callback The function executed per own property. |
| 164 | */ |
| 165 | function forOwn(object, callback) { |
| 166 | for (var key in object) { |
| 167 | if (hasOwnProperty.call(object, key)) { |
| 168 | callback(object[key], key, object); |
| 169 | } |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | /** |
| 174 | * Gets the internal `[[Class]]` of a value. |
no test coverage detected