/
Dangerpro
/
Math_Modeling_Knyaginin
Обзор
Документация
Войти
/
Dangerpro
/
Math_Modeling_Knyaginin
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
node_modules/lodash/_arrayEach.js
22 строки
537 B
Dangerpro
Создал бота
02 дек 2024, 14:16
02 дек 2024, 14:16
6f458d6
Код
Авторство
О чём код?
/** * A specialized version of `_.forEach` for arrays without support for * iteratee shorthands. * * @private * @param {Array} [array] The array to iterate over. * @param {Function} iteratee The function invoked per iteration. * @returns {Array} Returns `array`. */ function arrayEach(array, iteratee) { var index = -1, length = array == null ? 0 : array.length; while (++index < length) { if (iteratee(array[index], index, array) === false) { break; } } return array; } module.exports = arrayEach;