DEV Community

Discussion on: Awesome 5 javascript Shorthands

Collapse
 
machtyn profile image
machtyn • Edited

Also, instead of let fruits of fruits it should be let fruit of fruits since in that for loop, you're working with just one of the fruits (or items) in the list at the time.

Collapse
 
iftekhs profile image
iFTekhar

Oh, Thank you so much I really missed that. Thank you for your point I'm changing it immediately.