use of "response" in fetching tweets from search API
<p>I am new to jquery and javascript. here i have a code which fetches tweets using twitter;s search api. Can yo please tell me why are we passing the argument "response" to the function after .done()? How is this working ?   </p>

<pre><code> $('#input').submit(function(e){
        e.preventDefault();
        e.stopPropagation();
           var hashtag = $(this).find('input[name="hashtag"]').val();
            var twitterapi = "http://search.twitter.com/search.json?";
            jQuery.ajax({
              type: "GET",
              url: twitterapi,
              data: {
                "q": hashtag,
                "rpp": 1000
              },
              dataType: 'jsonp'
            }).done(function (response) {
              var results = response.results;
              for (var i = 0; i &lt; results.length; i++) {
                $("#tweet").append("&lt;p class='tweet'&gt;" +
                  "&lt;span class='username'&gt;" +
                  results[i].from_user +
                  "&lt;/span&gt; &lt;span class='tweet_content'&gt; " +
                  results[i].text + "&lt;/span&gt;&lt;/p&gt;");
              }
            });
</code></pre>
