code: function nanmax( arr ) {
  	if ( !Array.isArray( arr ) ) {
  		throw new TypeError( 'nanmax()::invalid input argument. Must provide an array.' );
  	}
  	var len = arr.length,
  		max = null,
  		val;
  
  	for ( var i = 0; i < len; i++ ) {
  		val = arr[ i ];
  		if ( typeof val !== 'number' || val !== val ) {
  			continue;
  		}
  		if ( max === null || val > max ) {
  			max = val;
  		}
  	}
  	return max;
  }
docs: FUNCTION: nanmax( arr )
  Computes the maximum value of an array ignoring any non-numeric values.
  
  @param {Array} arr - array of values
  @returns {Number} max value