Fitness && Functions logo

Fitness && Functions

Subscribe
Archives
July 9, 2019

Re-implementing Array.map

PRE-S: I'm heading to Portland for ChainReact! If you're going to be in town, I'd love to hang!

Recently, I've started posting JavaScript tips and challenges on Twitter. Last week I did one that was particularly fun — re-implementing Array.map.

I wrote a quick post on it if you'd like to check it out: https://dev.to/jchiatt/let-s-re-implement-javascript-s-array-map-method-2cnd

If you have a better solution, I'd love to see it! Specifically, I'd love to see solutions that are more performant with explanations why.

Cheers! J

Don't miss what's next. Subscribe to Fitness && Functions:
Powered by Buttondown, the easiest way to start and grow your newsletter.