function(statuses) {
        var combined = Status.VALID;
        for (var i = 0; i < statuses.length; i++) {
            if (statuses[i].valueOf() > combined.valueOf()) {
                combined = statuses[i];
            }
        }
        return combined;
    }
function(statuses) {
        var combined = Status.VALID;
        for (var i = 0; i < statuses.length; i++) {
            if (statuses[i].valueOf() > combined.valueOf()) {
                combined = statuses[i];
            }
        }
        return combined;
    }
function ( statuses ) { var combined = Status . VALID ; for ( var i = 0 ; i < statuses . length ; i ++ ) { if ( statuses [ i ] . valueOf ( ) > combined . valueOf ( ) ) { combined = statuses [ i ] ; } } return combined ; }
A combined status is the worser of the provided statuses
A combined status is the worser of the provided statuses