DEV Community

Discussion on: A practical example of how to use Currying in Javascript

Collapse
 
darkmavis1980 profile image
Alessio Michelini • Edited

Hi! Yes I know, that's what I would normally do, but I feel that with the limited width of dev.to pages, using the return makes it a bit more readable ;-)
But yeah, in my normal coding I would do as you suggested