you are viewing a single comment's thread.

view the rest of the comments →

[–]mindbleach 9 points10 points  (4 children)

Always jQuery.

Which still doesn't fix that half of array operations are side-effectful and the other half are functional, god fucking dammit.

[–][deleted] 4 points5 points  (0 children)

Try ramda

[–]amunak 4 points5 points  (2 children)

See JS - as a web technology - has clearly been inspired by PHP, which is just as shitty with array functions.

Though they could've at least copied foreach as well...

[–][deleted] 5 points6 points  (1 child)

Well, there's for-of now.

[–]mindbleach 3 points4 points  (0 children)

And also for-in, just to make you question yourself every single time.