src code

instance method Enumerable#min

Enumerable#min([iterator = Prototype.K[, context]]) → minValue

Returns the minimum element (or element-based computation), or undefined if the enumeration is empty. Elements are either compared directly, or by first applying the iterator and comparing returned values.