DEV Community

Discussion on: 5 JavaScript "tips" that might bite you back.

eecolor profile image
EECOLOR

Haha, yeah. In Scala you have foldLeft and foldRight, where foldLeft has it as the first argument and foldRight as the second argument.