transform(object, iterator) {
		const result = {};
		_.each(object, function (value, key) {
			// Simply apply the key-value result of the iterator to our transformed result object
			_.extend(result, iterator(value, key));
		});
		return result;
	}
/**
	 * Transform each key-value pair of an object and return a new object with all the key-value
	 * transformations. This can be thought of as a `map` for objects.
	 */
Transform each key-value pair of an object and return a new object with all the key-value
transformations. This can be thought of as a `map` for objects.
Transform each key - value pair of an object and return a new object with all the key - value transformations . This can be thought of as a ` map ` for objects .
transform(object, iterator) {
		const result = {};
		_.each(object, function (value, key) {
			_.extend(result, iterator(value, key));
		});
		return result;
	}
transform ( object , iterator ) { const result = { } ; _ . each ( object , function ( value , key ) { _ . extend ( result , iterator ( value , key ) ) ; } ) ; return result ; }
Transform each key-value pair of an object and return a new object with all the key-value
 transformations.
Transform each key - value pair of an object and return a new object with all the key - value transformations .
// Simply apply the key-value result of the iterator to our transformed result object