I have an autocomplete function which executes a function customOutput() inside it
  $(".search").autocomplete({
         source: function (request, response) {
                    customOutput(request);
                    }
    });
customOutput(request) returns an array How can I store the return value of customOutput(request) and use it in other function
 
     
    