DEV Community

Discussion on: Functions in JavaScript

Collapse
 
weptim profile image
WEPUKHULU TIMOTHY

I think using Es6 arrow functions is more better

Collapse
 
acroynon profile image
Adam Roynon

It depends on why and where. When using the filter/map/etc functions I agree. For general functions readability can be better without using arrow functions.