DEV Community

Discussion on: Can You write a complex program only using const variables in javascript?

Collapse
 
pris_stratton profile image
pris stratton

I think so. You can still mutate objects assigned to consts, assign them functions and use recursion to avoid loops.