management/front/dkha-web-sz-main/node_modules/es-abstract/helpers/forEach.js

8 lines
190 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
'use strict';
module.exports = function forEach(array, callback) {
for (var i = 0; i < array.length; i += 1) {
2023-12-28 23:41:32 +08:00
callback(array[i], i, array); // eslint-disable-line callback-return
2023-12-18 13:12:25 +08:00
}
};