Tag: reduce
-
Functional Javascript array methods
I’ve been whipping up a little mock-database unit that has a few access functions but actually stores the data as arrays for a demo project for a post I’m writing. In the process I wrote this gem: In the comment I’m claiming the code is a bit of a mess (and from a readability point…