function objectForEach(obj, cb) {
  const newObj = Object.assign({}, obj);
  for (let key of Object.keys(newObj)) { // eslint-disable-line
    cb(newObj[key], key);
  }

  return newObj;
}
/**
 * Iterates over an object
 *
 * Calls the given callback function with each value and key in the object. The callback
 * receives the value as the first argument, and key as the second.
 *
 * @param {object} obj The object to iterate over
 * @param {function} cb The callback function
 * @return {object}
 */
Iterates over an object
Calls the given callback function with each value and key in the object. The callback
receives the value as the first argument, and key as the second.

@param {object} obj The object to iterate over
@param {function} cb The callback function
@return {object}
Iterates over an object Calls the given callback function with each value and key in the object . The callback receives the value as the first argument and key as the second . @param { object } obj The object to iterate over @param { function } cb The callback function @return { object }
function objectForEach(obj, cb) {
  const newObj = Object.assign({}, obj);
  for (let key of Object.keys(newObj)) { 
    cb(newObj[key], key);
  }
  return newObj;
}
function objectForEach ( obj , cb ) { const newObj = Object . assign ( { } , obj ) ; for ( let key of Object . keys ( newObj ) ) { cb ( newObj [ key ] , key ) ; } return newObj ; }
Iterates over an object
 Calls the given callback function with each value and key in the object.
Iterates over an object Calls the given callback function with each value and key in the object .
// eslint-disable-line