tasks/deploy/parse.js
function shuffleArray (options, arr) {
    if (!options.minify) { return undefined; }

    for (let i = 0, max = arr.length; i < max; i++) {
        let j = randomInt(max);

        if (arr[j] !== arr[i]) {
            let source = arr[i];

            arr[i] = arr[j];
            arr[j] = source;
        }
    }
}
function shuffleArray (options, arr) {
    if (!options.minify) { return undefined; }

    for (let i = 0, max = arr.length; i < max; i++) {
        let j = randomInt(max);

        if (arr[j] !== arr[i]) {
            let source = arr[i];

            arr[i] = arr[j];
            arr[j] = source;
        }
    }
}
function shuffleArray ( options , arr ) { if ( ! options . minify ) { return undefined ; } for ( let i = 0 , max = arr . length ; i < max ; i ++ ) { let j = randomInt ( max ) ; if ( arr [ j ] !== arr [ i ] ) { let source = arr [ i ] ; arr [ i ] = arr [ j ] ; arr [ j ] = source ; } } }
Fisher-Yates "inside-out" shuffle. Randomize order of modules and
their properties when minifying.

@function shuffleArray
@param {Object} options
@param {Array} arr
@api private
Fisher - Yates inside - out shuffle . Randomize order of modules and their properties when minifying .