src/mongo/shell/replsettest.js
/**
     * Attempt to connect to all nodes and returns a list of secondaries in which the connection was
     * successful.
     */
Attempt to connect to all nodes and returns a list of secondaries in which the connection was
successful.
Attempt to connect to all nodes and returns a list of secondaries in which the connection was successful .
function _determineLiveSecondaries() {
        _callHello();
        return self._secondaries.filter(function(n) {
            return self._liveNodes.indexOf(n) !== -1;
        });
    }
function _determineLiveSecondaries ( ) { _callHello ( ) ; return self . _secondaries . filter ( function ( n ) { return self . _liveNodes . indexOf ( n ) !== - 1 ; } ) ; }
Attempt to connect to all nodes and returns a list of secondaries in which the connection was
 successful.
Attempt to connect to all nodes and returns a list of secondaries in which the connection was successful .