DEV Community

Discussion on: ES6 Arrow Functions Cheatsheet

Collapse
 
samanthaming profile image
Samantha Ming

I personally prefer the plural/singular because itโ€™s more descriptive. It might not be as obvious because your example is only a one-liner. But once you have more logic inside the loop, itโ€™s helpful for others to follow along your code and even yourself down the road. It takes removes the guessing ๐Ÿ˜Š