scripts/generateDatLocaleData.js
function fromEntries(keys, values) {
  return keys.reduce((obj, key, i) => {
    obj[key] = values[i];
    return obj;
  }, {})
}
function fromEntries(keys, values) {
  return keys.reduce((obj, key, i) => {
    obj[key] = values[i];
    return obj;
  }, {})
}
function fromEntries ( keys , values ) { return keys . reduce ( ( obj , key , i ) => { obj [ key ] = values [ i ] ; return obj ; } , { } ) }
reverse of Object.entries
reverse of Object . entries