src/ponyfills/objects.js
/**
 * Convert a flattened map into a hierarchical map
 *
 * @param {Object} map A map with hierarchical keys flattened
 * @returns {Object} A map with hierarchical keys
 */
Convert a flattened map into a hierarchical map
@param {Object} map A map with hierarchical keys flattened
@returns {Object} A map with hierarchical keys
Convert a flattened map into a hierarchical map @param { Object } map A map with hierarchical keys flattened @returns { Object } A map with hierarchical keys
function expand(map) {
  let expanded = {};
  Object.keys(map).forEach(function(key) {
    let v = map[key];
    setKeyToValue(key, v, expanded);
  });
  return expanded;
}
function expand ( map ) { let expanded = { } ; Object . keys ( map ) . forEach ( function ( key ) { let v = map [ key ] ; setKeyToValue ( key , v , expanded ) ; } ) ; return expanded ; }
Convert a flattened map into a hierarchical map
 @param {Object} map A map with hierarchical keys flattened
 @returns {Object} A map with hierarchical keys
Convert a flattened map into a hierarchical map @param { Object } map A map with hierarchical keys flattened @returns { Object } A map with hierarchical keys