jquery does not display content
<p>I this simple bit of test code to loop through and display content from an array. When I run it in my browser, it doesn't display or run any errors. </p>

<pre><code>&lt;html&gt;
    &lt;head&gt;
    &lt;title&gt;jquery each test&lt;/title&gt;
        &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"&gt;&lt;/script&gt; 
        &lt;script type="text/javascript"&gt;
            var arr = ["One", "Two", "Three", "Four", "Five"];
            var task = "";
            $(document).ready(
              $.each(arr, function(index, value) {
                task += value + "&lt;br&gt;";
                $('div.content').html(task);
              }));
        &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;div class="content"&gt;&lt;/div&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>