map() get() confusion
<p>I'm just going through the jQuery API and I'm a bit confused on map() &amp; get() method.  I know I'm wrong but the map() method looks a lot like an .each() statement?  Except the documentation says it returns a new jQuery object.  I've been playing with this on jsfiddle trying to get my head around it, but I'm not quite there.  <a href="http://jsfiddle.net/BnP45/">here</a> is the jsfiddle link: </p>

<p>Also here is the snippet of code:</p>

<pre><code>$.fn.equalizeHeights = function() {
    var two = $(this).map(function(i, e) {
                                return $(e).height();
                            });
    console.log(two);
    console.log(two.constructor);
    console.log(two.get());
    console.log(two.get().constructor);
    return this.height(Math.max.apply(this,two.get()));
}
$('input').click(function() {
    $('div').equalizeHeights();
});
</code></pre>

<p>I see they are extending jQuery using prototype to create a function called 'equalizeHeights()'.  And $(this) represents the selector for all the 'div' elements on the page.  The map() call iterates through each of the items in the array of divs and returns its height?  But what I'm confused about is what I'm logging to the console.  One is an object and the other is an array?  Could someone elaborate on what map() and get() are doing in this snippet of code?  </p>

<p>Thanks in advance.</p>
