/
githubmirror
/
lodash
Обзор
Документация
Войти
/
githubmirror
/
lodash
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
4.18.0-amd
over.js
24 строки
584 B
John-David Dalton
Bump to v4.14.0.
24 июл 2016, 19:52
24 июл 2016, 19:52
edb45df
Код
Авторство
О чём код?
define(['./_arrayMap', './_createOver'], function(arrayMap, createOver) { /** * Creates a function that invokes `iteratees` with the arguments it receives * and returns their results. * * @static * @memberOf _ * @since 4.0.0 * @category Util * @param {...(Function|Function[])} [iteratees=[_.identity]] * The iteratees to invoke. * @returns {Function} Returns the new function. * @example * * var func = _.over([Math.max, Math.min]); * * func(1, 2, 3, 4); * // => [4, 1] */ var over = createOver(arrayMap); return over; });