by _callcc · 10y ago · 0 comments
That aside, to me, putting the data argument first would seem to make the code more readable.
It sure is confusing why the author implemented these functions...
Regardless, any sort of environment where you can do `import extend from 'just-extend';` is going to (have a way) support map and filter.
It's _not_ because it's convention everywhere else.
(I realize that only really makes sense if you know why it makes sense, so this video gives a pretty good explanation in ~30 minutes - https://www.youtube.com/watch?v=m3svKOdZijA)