function stringGenerator(joinChar, ...args) {
  return args
    .map((a) => {
      const aryIndex = Math.round(Math.random() * (a.length - 1));
      return a[aryIndex];
    })
    .join(joinChar);
}
/**
 * Generate a random string
 *
 * @param  {Array} args     A set of arrays to randomly join data.
 * Adds strings based on input order, starting with first parameter
 * @return {String}          String randomly generated from input
 */
Generate a random string
@param  {Array} args     A set of arrays to randomly join data.
Adds strings based on input order, starting with first parameter
@return {String}          String randomly generated from input
Generate a random string @param { Array } args A set of arrays to randomly join data . Adds strings based on input order starting with first parameter @return { String } String randomly generated from input
function stringGenerator(joinChar, ...args) {
  return args
    .map((a) => {
      const aryIndex = Math.round(Math.random() * (a.length - 1));
      return a[aryIndex];
    })
    .join(joinChar);
}
function stringGenerator ( joinChar , ... args ) { return args . map ( ( a ) => { const aryIndex = Math . round ( Math . random ( ) * ( a . length - 1 ) ) ; return a [ aryIndex ] ; } ) . join ( joinChar ) ; }
Generate a random string
 @param  {Array} args     A set of arrays to randomly join data.
Generate a random string @param { Array } args A set of arrays to randomly join data .