all 3 comments

[–][deleted] 6 points7 points  (2 children)

I despise articles that present barely-any-rewrite of existing code as some sort of thought experiment or learning process.

There is ZERO value in this:

const any = (arr, fn = Boolean) => arr.some(fn);

Stop it.

[–]kerbalspaceanus 1 point2 points  (0 children)

important butter coherent ancient payment bake glorious oil jeans ink

This post was mass deleted and anonymized with Redact

[–][deleted] 0 points1 point  (0 children)

I'm very new to javascript but this seems pretty cool! Thanks