lib/stats.js
function(attr) {
			// Get the numbers
			var arr = this.arr;

			// Go through each of the numbers and find the maximum
			var maximum = attr == null ? arr[0] : arr[0][attr];
			var maximumEl = attr == null ? arr[0] : arr[0];

			stats(arr).each(function(num, index) {
				if ((attr == null ? num : num[attr]) > maximum) {
					maximum = attr == null ? num : num[attr];
					maximumEl = num;
				}
			});

			return maximumEl;
		}
function(attr) {
			// Get the numbers
			var arr = this.arr;

			// Go through each of the numbers and find the maximum
			var maximum = attr == null ? arr[0] : arr[0][attr];
			var maximumEl = attr == null ? arr[0] : arr[0];

			stats(arr).each(function(num, index) {
				if ((attr == null ? num : num[attr]) > maximum) {
					maximum = attr == null ? num : num[attr];
					maximumEl = num;
				}
			});

			return maximumEl;
		}
function ( attr ) { // Get the numbers
 var arr = this . arr ; // Go through each of the numbers and find the maximum
 var maximum = attr == null ? arr [ 0 ] : arr [ 0 ] [ attr ] ; var maximumEl = attr == null ? arr [ 0 ] : arr [ 0 ] ; stats ( arr ) . each ( function ( num , index ) { if ( ( attr == null ? num : num [ attr ] ) > maximum ) { maximum = attr == null ? num : num [ attr ] ; maximumEl = num ; } } ) ; return maximumEl ; }
Finds the largest number.  attr - Optional. If passed, the elemnt with the maximum value for the given attribute will be returned.  Returns the maximum.
Finds the largest number . attr - Optional . If passed the elemnt with the maximum value for the given attribute will be returned . Returns the maximum .