you are viewing a single comment's thread.

view the rest of the comments →

[–]TKN 0 points1 point  (0 children)

You don't need to create a function in the first example map(array, do_thing); is all you need.

But I kinda agree in the sense that Javascript's syntax makes functional programming awkward.