3 ms·I would do it like this... function map(f, ary) { return [].map.call(ary, f); }by gotofritz 12y agoI would do it like this... function map(f, ary) { return [].map.call(ary, f); }