UNPKG

@gleefullychill/lotide

Version:

A library based off of lodash for a student project

9 lines (8 loc) 173 B
const map = function(array, callback) { const results = []; for (const item of array) { results.push(callback(item)); } return results; }; module.exports = map;