What does it mean to use $('body').html('') in jQuery?
<p>My question is the same with the subject.</p>

<p>I am making a clone of Twitter by modifying twittler.
These are the some initial line of it</p>

<pre><code>    $(document).ready(function(){
    var $body = $('body');
    $body.html(''); 

    var index = streams.home.length - 1;
    while(index &gt;= 0){
      var tweet = streams.home[index];
      var $tweet = $('&lt;div&gt;&lt;/div&gt;');
      $tweet.text('@' + tweet.user + ': ' + tweet.message);
      $tweet.appendTo($body);
      index -= 1;
    }
    });
</code></pre>

<p>I think " .html('') " part is useless.
Why did it include that? </p>