js/main.js
// returns a random Value given a Culture
returns a random Value given a Culture
returns a random Value given a Culture
function randomValue(culture) {
  let culture_keys = Object.keys(cultures[culture]);
  let rand_key = Math.floor(Math.random() * culture_keys.length);
  return culture_keys[rand_key];
}
function randomValue ( culture ) { let culture_keys = Object . keys ( cultures [ culture ] ) ; let rand_key = Math . floor ( Math . random ( ) * culture_keys . length ) ; return culture_keys [ rand_key ] ; }
returns a random Value given a Culture
returns a random Value given a Culture