function shuffle(arg) {
    const groups = [];
    while (!arg == "") {
        let takeaway = betterRandom({
            1: 0.65,
            2: 0.35,
        });
        groups.push(arg.slice(0, takeaway));
        arg = arg.slice(takeaway);
    }

    return groups;
}
/**
 * Randomly arranges a string into groups
 * @param {String} arg
 * @returns {Array<String>} The list of groups
 */
Randomly arranges a string into groups
@param {String} arg
@returns {Array} The list of groups
Randomly arranges a string into groups @param { String } arg @returns { Array } The list of groups
function shuffle(arg) {
    const groups = [];
    while (!arg == "") {
        let takeaway = betterRandom({
            1: 0.65,
            2: 0.35,
        });
        groups.push(arg.slice(0, takeaway));
        arg = arg.slice(takeaway);
    }
    return groups;
}
function shuffle ( arg ) { const groups = [ ] ; while ( ! arg == "" ) { let takeaway = betterRandom ( { 1 : 0.65 , 2 : 0.35 , } ) ; groups . push ( arg . slice ( 0 , takeaway ) ) ; arg = arg . slice ( takeaway ) ; } return groups ; }
Randomly arranges a string into groups
 @param {String} arg
 @returns {Array<String>} The list of groups
Randomly arranges a string into groups @param { String } arg @returns { Array<String > } The list of groups