global variable vs. passing a variable into an option's function

global variable vs. passing a variable into an option's function

Some code for the source: option in Autocomplete does not work when I try to pass a variable (containing an array) into the function, but the code works when I don't try to pass it into the function. What's happening here - or am I doing something wrong in the 2d case?

This works seems like threeStepCountries is a global -
var threeStepCountriesTest = [ "US", "GB", "PH", "ZM" ];
$("#neighborhood").autocomplete({
      source: function ( request, response ){
            if ( $.inArray( countrySelected, threeStepCountriesTest ) > -1 ) {
            //do stuff
            }
      }
});

This does not work seems like threeStepCountries should pass into the if(), but it doesn't-
var threeStepCountriesTest = [ "US", "GB", "PH", "ZM" ];
$("#neighborhood").autocomplete({
      source: function ( request, response, threeStepCountriesTest ){
            if ( $.inArray( countrySelected, threeStepCountriesTest ) > -1 ) {
            //do stuff
            }
      }
});

I use threeStepCountriesTest in other functions, so declaring it inside the autocomplete is not an alternative.