DEV Community

Discussion on: Demystifying "const" variables in JavaScript

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

99% of the time your variable reference won't need to change (reassigned) so use const, for the other use let, it's that simple.