function reverseParams(iteratorFn) {
  return function(value, key) {iteratorFn(key, value);};
}
when using forEach the params are value, key, but it is often useful to have key, value.
@param {function(string, *)} iteratorFn
@returns {function(*, string)}