It was a red flag, but the javascript "curry" solution is like a nuclear explosion of madness.
A pity, because the general idea and techniques in the article are fine, but the examples try so hard to be simple that they fail to illustrate the point: the actual "improved" versions of the code are much worse than the supposedly broken originals.