Yes, and you get used to reduce. map, filter and reduce were hard for me to follow… until I used them two or three times and now I understand them easily and they naturally come to my mind when I need to solve a problem which they can help solving.
They are good tools (especially in codebases shared with people who are allergic to loop statements!)
They are good tools (especially in codebases shared with people who are allergic to loop statements!)