Version: 0.1.00.2.00.3.00.4.00.5.00.6.00.7.00.7.10.8.00.9.00.9.10.9.20.9.30.10.00.11.00.12.01.0.01.0.1
var forEach = require('./each')
module.exports = function map (each, fn) {
if (typeof each !== 'function') each = forEach.bind(this, each)
var result = []
each(function () { result.push(fn.apply(this, arguments)) })
return result
}