Returns the first element of an array with the minimum value according to an iteratee function.
The iteratee is invoked for each element, and the element with the smallest
resulting value is returned. If multiple elements tie for the minimum, the
first one encountered is kept. If the array is empty, undefined is returned.
Returns the first element of an array with the minimum value according to an iteratee function.
The iteratee is invoked for each element, and the element with the smallest resulting value is returned. If multiple elements tie for the minimum, the first one encountered is kept. If the array is empty,
undefinedis returned.根据迭代函数返回数组中对应值最小的第一个元素。
对每个元素调用迭代函数,返回结果值最小的那个元素。若多个元素并列最小,则保留最先遇到的元素。若数组为空,返回
undefined。