DEV Community

Discussion on: Demystifying "const" variables in JavaScript

Collapse
 
sunnysingh profile image
Sunny Singh

We're in the same boat! I try to avoid let and even loops, which people think I'm crazy for.

Collapse
 
georgecoldham profile image
George

Map, Filter and Reduce are loops, but they are immutable for the purpose of us devs.

Thread Thread
 
sunnysingh profile image
Sunny Singh

They're declarative loops, but yes definitely loops.